Claude Code Telemetry

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2026 Aug 10 16:40
Editor
Edited
Edited
2026 Aug 10 16:45
Refs

How to use Claude Code OpenTelemetry monitoring

  1. Enable telemetry
export CLAUDE_CODE_ENABLE_TELEMETRY=1
  1. Choose what to export
export OTEL_METRICS_EXPORTER=otlp export OTEL_LOGS_EXPORTER=otlp
  1. Configure your OpenTelemetry collector
export OTEL_EXPORTER_OTLP_PROTOCOL=grpc export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
  1. Add authentication if required
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer your-token"
  1. Start Claude Code
claude
 
 
 
 
 
Track team usage with analytics - Claude Code Docs
View Claude Code usage metrics, track adoption, and measure engineering velocity in the analytics dashboard.
Track team usage with analytics - Claude Code Docs
 
 

Recommendations