[BUG] Monitoring(OpenTelemetry) is broken since 2.64, still not working in 2.67 (latest version)
Resolved 💬 11 comments Opened Dec 12, 2025 by FutureGadget Closed Dec 19, 2025
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?
Claude Code Opentelemetry feature is broken.
Broken means it does not produce any logs / metrics.
It does not produce metrics / logs even after we configure that.
What Should Happen?
After we configure the telemetry setting, the claude code should produce metrics / logs.
Error Messages/Logs
No error messages found.
Steps to Reproduce
~/.claude/settings.json
{
"env": {
"AWS_PROFILE": "<AWS ROLE>",
"AWS_REGION": "<AWS REGION>",
"NODE_TLS_REJECT_UNAUTHORIZED": 0,
"ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION": "<AWS REGION>",
"CLAUDE_CODE_USE_BEDROCK": 1,
"ANTHROPIC_MODEL": "<Model Inference Profile ID>",
"ANTHROPIC_SMALL_FAST_MODEL": "<Model Inference Profile ID>",
"ANTHROPIC_CUSTOM_HEADERS": "X-Amzn-Bedrock-GuardrailIdentifier: <GuardrailID>\nX-Amzn-Bedrock-GuardrailVersion: <GuardrailVersion>",
"CLAUDE_CODE_ENABLE_TELEMETRY": 1,
"OTEL_METRICS_EXPORTER": "console",
"OTEL_METRIC_EXPORT_INTERVAL": 1000,
"OTEL_METRICS_INCLUDE_SESSION_ID": false,
"OTEL_RESOURCE_ATTRIBUTES": "user.name=testuser"
}
}
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.64
Claude Code Version
2.0.67
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
We have a dashboard that monitors usage.
In the claude_code_active_time_seconds_total metric, the last version we are seeing is 2.0.64.
This issue has 11 comments on GitHub. Read the full discussion on GitHub ↗