[BUG] Otel metrics don't seem to be emitting from claude code (log and trace work fine)
Resolved 💬 3 comments Opened Jan 6, 2026 by dpark2025 Closed Jan 10, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I am collecting otel metrics from claude code. I am able to see logging and trace otel objects being sent to the collector but metrics do not seem to be emitted. Claude did the investigation and also confirmed no metrics seemed to be arriving at the collector. We do see the other metric types.
We've tried both grpc and http and neither affected the outcome.
What Should Happen?
CC should be emitting metrics type for ingestion into our TSDB.
Error Messages/Logs
Not seeing any errors when setting the output for metrics to console or in the cli as well. Is there a log file I can look at or enable?
Steps to Reproduce
- Configure CC with env to enable telemetry and for metric types to send.
- See no metric types arrive at collector.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.76
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗