You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
codex exec emits no OTel metrics; codex mcp-server emits no OTel telemetry at all #12913
# Run with debug logging
RUST_LOG=debug codex exec"echo hello" -s read-only --json 2>&1| grep -i opentelemetry
# → 37 lines: traces and logs exported successfully, zero metrics activity# Confirm via OTLP collector — traces and logs arrive, metrics do not:# codex_cli_rs (interactive): 50 metrics# codex_exec: 0 metrics
codex mcp-server — no telemetry at all
RUST_LOG=debug timeout 5 codex mcp-server 2>&1</dev/null
# Output (complete):# stdin reader finished (EOF)# /etc/codex/managed_config.toml not found# processor task exited (channel closed)# stdout writer exited (channel closed)## Zero opentelemetry-sdk log lines. No BatchLogProcessor, no BatchSpanProcessor,# no export attempts. OTel is never initialized.
Environment
codex-cli 0.105.0
Linux x86_64
OTLP collector: ai-observer (Docker), receiving on localhost:4318
Impact
Any workflow that uses codex exec or codex mcp-server programmatically
(e.g., as an external reviewer in an automated loop) gets incomplete or
zero observability, despite having a working [otel] config.
Activity
Enable analytics in codex exec and codex mcp-server (#13083)
etraut-openai commentedon Feb 28, 2026
Thanks for the bug report and the great analysis. This will be fixed in the next release.
Enable analytics in codex exec and codex mcp-server (openai#13083)
docs: correct stale Codex telemetry claims in observability whitepaper (
docs: correct stale Codex telemetry claims in observability whitepaper (
docs: correct stale Codex telemetry claims in observability whitepaper (