Monitor Claude Code Usage With Grafana

TL;DR This is possible out of the box without adding any custom certificates, proxies or MITM. You will need an OpenTelemetry compatible data collector and the ability to set some enivironment variables. As part of a longer post on how we can use OpenTelemetry to observe AI agent behaviours, I started capturing OTEL tracing from Claude Code. It may not be common knowledge but Claude supports this…