⌨️Claude Code Monitoring (OpenTelemetry)
Also known as Claude Code OpenTelemetry, Claude Code OTel, Claude Code telemetry
Sends Claude Code use, cost and tool data to your own dashboard.
Think of it like
It is like a step counter on your wrist. It sends your numbers to an app so you can see them later.
Example
Emma's team turns this on for every laptop. A dashboard now shows tokens and cost per person each week.
Why it matters
A team cannot manage what it cannot see. Monitoring shows who uses Claude Code, how much and on what.
Definition
Example code
bash
export CLAUDE_CODE_ENABLE_TELEMETRY=1
export OTEL_METRICS_EXPORTER=otlp
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
claudeCommon mistake
Key takeaways
- 1Off by default. Turn it on with one setting.
- 2Your own tools. Sends to any OpenTelemetry backend.
- 3Team-wide. Admins set it in managed settings.