Support otel metrics exporter

Open 💬 3 comments Opened Jan 31, 2026 by amit-mittal

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.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗