Add reasoning or service_mode to Otel Logs
Open 💬 1 comment Opened May 6, 2026 by amit-mittal
What version of Codex CLI is running?
v0.128.0
What subscription do you have?
Enterprise
Which model were you using?
gpt-5.5
What platform is your computer?
Darwin arm
What terminal emulator and version are you using (if applicable)?
iTerm2
What issue are you seeing?
Otel logs being sent from Codex CLI doesn't contain the reasoning or service_mode set by the user. Since these settings influence the token usage, we want this data to be visible either on Admin dashboard or in the otel logs/traces/metrics, so we can nudge the users to have the right settings.
What steps can reproduce the bug?
- Configure
otelsection inconfig.toml - Switch model to
gpt-5.5and reasoning tohigh - Test a prompt with Codex CLI
- Check Otel logs and you won't see the
reasoningas an attribute
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗