Search the documentation
8 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
…for tokens, cost, sessions, lines of code, and tool decisions | `OTEL_METRICS_EXPORTER` | | Log events | Structured records for each prompt, API reques…
Claude Code changelog
Claude Code CLI · in the page
changelog
…narrower than 104 columns * Fixed the Prometheus metrics endpoint (`OTEL_METRICS_EXPORTER=prometheus`) emitting invalid `# UNIT` lines * Fixed skills and commands changed during a session not appe…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…t through `/managed/settings`: * `CLAUDE_CODE_ENABLE_TELEMETRY=1` * `OTEL_METRICS_EXPORTER=otlp` * `OTEL_LOGS_EXPORTER=otlp` * `OTEL_TRACES_EXPORTER=otlp` * `OTEL_EXPORTER_OTLP_ENDPOINT=<public_url>`…
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…
Example settings files
Claude Code CLI · in the page
settings-example
…"env": { "CLAUDE_CODE_ENABLE_TELEMETRY": "1", "OTEL_METRICS_EXPORTER": "otlp", "OTEL_EXPORTER_OTLP_PROTOCOL": "grpc", "OTEL_EXPORTER_OTLP_ENDPOINT": "http://coll…