Search the documentation
2 pages for otel_exporter_otlp_headers.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…_EXPORTER_OTLP_ENDPOINT": "http://collector.example.com:4318", "OTEL_EXPORTER_OTLP_HEADERS": "Authorization=Bearer your-token", } async def main(): options = ClaudeAgentOptions(env=O…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…T=http://localhost:4317 # 4. Set authentication (if required) export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer your-token" # 5. For debugging: reduce export intervals, and reset them for prod…