Claude Code Monitoring & Observability with OpenTelemetry SigNoz has released a guide for monitoring Anthropic's Claude Code AI assistant using OpenTelemetry, enabling engineering teams to export logs and metrics on token usage, costs, session activity, and tool decisions to SigNoz dashboards. The integration requires a SigNoz account and Claude Code installation, with setup options for both VSCode and terminal environments using environment variables or bash scripts. Administrators can centrally configure OpenTelemetry settings across their organization through managed settings files for unified visibility into AI usage patterns. Overview Claude Code monitoring with OpenTelemetry gives you full visibility into how Claude is used across your engineering team. This guide walks you through exporting Claude Code logs and metrics to SigNoz, so you can track the signals that matter most: Token usage & costs — break down spend by user, model, or subagent Session & request activity — track adoption, active time, and request volumes Performance — monitor API latency, cache hit rates, and tool execution times Quota & limits — stay ahead of rate limits before they impact developers Tool decisions — see accept/reject rates across Edit, Write, and other tools Errors & retries — detect API failures and retry exhaustion before they snowball Once set up, all of this flows into SigNoz dashboards where you can correlate logs and metrics, set alerts, and analyze trends over time. Prerequisites - SigNoz setup choose one : SigNoz Cloud account https://signoz.io/teams/ with an active ingestion key- Self-hosted SigNoz instance - Internet access to send telemetry data to SigNoz Cloud Claude Code https://www.anthropic.com/claude-code installed and running on your system Monitoring Claude Code Check out detailed instructions on how to set up OpenTelemetry instrumentation for your Claude Code usage over here https://docs.anthropic.com/en/docs/claude-code/monitoring-usage . Option 1 VSCode Step 1: Launch VSCode with telemetry enabled CLAUDE CODE ENABLE TELEMETRY=1 \ OTEL METRICS EXPORTER=otlp \ OTEL LOGS EXPORTER=otlp \ OTEL EXPORTER OTLP PROTOCOL=grpc \ OTEL EXPORTER OTLP ENDPOINT="https://ingest.