7 pages for otel_metrics_exporter.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…TRY=1 CLAUDE_CODE_ENHANCED_TELEMETRY_BETA=1 OTEL_TRACES_EXPORTER=otlp OTEL_METRICS_EXPORTER=otlp OTEL_LOGS_EXPORTER=otlp OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf OTEL_EXPORTER_OTLP_ENDPOINT=http://co…
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…ters for tokens, cost, sessions, lines of code, and tool decisions | `OTEL_METRICS_EXPORTER` | | Log events | Structured records for each prompt, API request, API error, and tool result | `OTEL_LOGS_E…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…s through `/managed/settings`: * `CLAUDE_CODE_ENABLE_TELEMETRY=1` * `OTEL_METRICS_EXPORTER`, `OTEL_LOGS_EXPORTER`, and `OTEL_TRACES_EXPORTER`, each set to `otlp` if at least one `forward_to` destinat…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…e exporters (both are optional - configure only what you need) export OTEL_METRICS_EXPORTER=otlp # Options: otlp, prometheus, console, none export OTEL_LOGS_EXPORTER=otlp # Options: otl…
Self-hosted environments reference
Claude Code CLI · in the page
self-hosted-environments-reference
…ne, the runner rewrites how those child metrics are exposed. Setting `OTEL_METRICS_EXPORTER=prometheus` on the runner host and `CLAUDE_CODE_ENABLE_TELEMETRY=1` in the session's environment, for exampl…
Claude Code settings
Claude Code CLI · in the page
settings
…" ] }, "env": { "CLAUDE_CODE_ENABLE_TELEMETRY": "1", "OTEL_METRICS_EXPORTER": "otlp", "OTEL_EXPORTER_OTLP_PROTOCOL": "http/protobuf" }, "companyAnnouncements": [ "Welcome t…
All settings
Claude Code CLI · in the page
settings-reference
…D_TELEMETRY_BETA` * The exporter selectors `OTEL_LOGS_EXPORTER`, `OTEL_METRICS_EXPORTER`, and `OTEL_TRACES_EXPORTER` * The content variables `OTEL_LOG_USER_PROMPTS`, `OTEL_LOG_ASSISTANT_RESPON…