[BUG] OpenTelemetry monitoring via managed-settings.json stopped collecting logs starting from v2.0.65

Resolved 💬 3 comments Opened Dec 15, 2025 by hwan-koo Closed Dec 15, 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?

I've been monitoring usage successfully through managed-settings.json using the monitoring settings documented at https://code.claude.com/docs/en/monitoring-usage. However, starting from version 2.0.65 through 2.0.69, monitoring logs have suddenly stopped being collected with the same configuration that was working before.

What Should Happen?

Monitoring logs should continue to be collected as they were before version 2.0.65. With the same managed-settings.json configuration that was previously working, OpenTelemetry telemetry data should be sent to the configured endpoint without any changes to the settings.

Error Messages/Logs

Steps to Reproduce

# 1. Enable telemetry
export CLAUDE_CODE_ENABLE_TELEMETRY=1

# 2. Choose exporters (both are optional - configure only what you need)
export OTEL_METRICS_EXPORTER=otlp       # Options: otlp, prometheus, console
export OTEL_LOGS_EXPORTER=otlp          # Options: otlp, console

# 3. Configure OTLP endpoint (for OTLP exporter)
export OTEL_EXPORTER_OTLP_PROTOCOL=grpc
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317

# 4. Set authentication (if required)
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer your-token"

# 5. For debugging: reduce export intervals
export OTEL_METRIC_EXPORT_INTERVAL=10000  # 10 seconds (default: 60000ms)
export OTEL_LOGS_EXPORT_INTERVAL=5000     # 5 seconds (default: 5000ms)

# 6. Run Claude Code
claude

#7. Claude Code go!
hihi

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.0.64

Claude Code Version

2.0.69

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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