daniel-oai
e0ac5d3c15
[codex] Expose service tier and reasoning effort in OTEL ( #29155 )
...
## Summary
NVIDIA asked to measure Fast mode usage and reasoning effort from Codex
CLI OTEL logs. Add the finalized `service_tier` and
`model_reasoning_effort` to the existing `codex.sse_event`
`response.completed` record.
This intentionally reuses the existing completion event and leaves
transport APIs and shared telemetry plumbing unchanged.
## Testing
- `cargo build -p codex-cli --bin codex`
- `just test -p codex-core responses_api_emits_api_request_event`
- End-to-end with the built CLI and a local OTLP/HTTP collector:
- Fast/high emitted `service_tier=priority` and
`model_reasoning_effort=high` with token usage.
- Standard/low omitted `service_tier` and emitted
`model_reasoning_effort=low` with token usage.
History
..
2026-06-22 23:37:49 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 14:21:28 +02:00
2026-06-15 21:53:47 -07:00
2026-06-22 16:45:14 -07:00
2026-06-23 00:02:33 +00:00
2026-06-23 00:02:33 +00:00
2026-06-18 15:13:55 +02:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-22 16:45:14 -07:00
2026-06-22 16:45:14 -07:00
2026-06-22 10:05:11 -07:00
2026-05-14 16:15:56 -07:00
2026-06-08 13:55:15 -07:00
2026-06-22 16:45:14 -07:00
2026-06-22 11:11:25 -07:00
2026-06-18 11:54:49 -07:00
2026-06-22 11:11:25 -07:00
2026-06-19 01:46:57 +00:00
2026-06-19 05:35:57 -07:00
2026-06-15 21:53:47 -07:00
2026-06-18 14:09:38 +02:00
2026-06-22 10:05:11 -07:00
2026-06-18 11:54:49 -07:00
2026-06-22 11:54:44 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-22 16:45:14 -07:00
2026-06-17 06:03:00 +00:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-22 16:45:23 -07:00
2026-06-17 08:50:39 -07:00
2026-06-22 03:39:14 +00:00
2026-05-18 21:03:51 -07:00
2026-06-23 01:15:11 +00:00
2026-06-22 10:05:11 -07:00
2026-06-15 21:53:47 -07:00
2026-06-10 20:42:55 -07:00
2026-06-08 13:55:15 -07:00
2026-06-22 10:05:36 +02:00
2026-06-23 00:02:33 +00:00
2026-06-22 16:45:23 -07:00
2026-06-22 20:44:48 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-22 09:36:08 +02:00
2026-06-10 20:42:55 -07:00
2026-06-22 16:45:23 -07:00
2026-06-22 16:45:14 -07:00
2026-06-22 16:45:14 -07:00
2026-06-08 13:55:15 -07:00
2026-06-22 11:11:25 -07:00
2026-06-23 00:02:33 +00:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-16 20:45:57 +00:00
2026-06-18 20:08:04 -04:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-22 16:41:00 -07:00
2026-06-18 22:47:51 -07:00
2026-06-08 13:55:15 -07:00
2026-06-22 11:11:25 -07:00
2026-06-23 01:33:51 +00:00
2026-06-22 13:25:48 -07:00
2026-06-22 09:36:08 +02:00
2026-06-22 19:51:03 -07:00
2026-06-08 13:55:15 -07:00
2026-06-22 16:45:23 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-23 00:02:33 +00:00
2026-06-15 21:53:47 -07:00
2026-06-22 09:36:08 +02:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-22 16:45:14 -07:00
2026-06-22 23:37:49 +00:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-22 10:05:11 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-23 00:02:33 +00:00
2026-06-18 16:13:07 -07:00
2026-06-08 13:55:15 -07:00
2026-06-16 10:37:06 -07:00
2026-06-23 00:02:33 +00:00
2026-06-19 05:35:57 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-18 14:09:38 +02:00