Support otel metrics exporter
Resolved 💬 4 comments Opened Jan 31, 2026 by amit-mittal Closed Aug 4, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What feature would you like to see?
Similar to otel logs and tracing, can we support configuring metrics exporter that we can use to gather internal usage metrics of codex CLI?
Additional information
I tried the below configuration, but doesn't seem to be working:
[otel]
metrics_exporter = { otlp-grpc = {
endpoint = "http://localhost:18234"
}}
The similar configuration works for traces and logs.
4 Comments
@etraut-openai I see you added
enterprisetag to this ticket. We are already paying for OpenAI Enterprise. Is that something that is already supported or visible in the platform?@amit-mittal, we use tags to help us sort, prioritize and track feature requests.
@etraut-openai I saw mention of
otel.metrics_exporterin the Codex's configuration reference, but there were no further details anywhere. Do you know if this is supported now?OTLP HTTP metrics export is implemented through
otel.metrics_exporter.