mirror of
https://github.com/openai/codex.git
synced 2026-09-06 15:29:32 +00:00
## What changed - Treat `codex.api_request` and `codex.api_request.duration_ms` as runtime-only metrics for Statsig exporters, matching the existing tool-call metric behavior. - Keep both metrics available through other OTLP exporters. ## Testing - Extend the Statsig filtering test to cover both API request metrics. - Verify the OTLP HTTP exporter still sends the API request count and duration. GitOrigin-RevId: f0f800ade7979e4da72ae59641bf42aa8a3ebd5a