6 pages for claude_code_enhanced_telemetry_beta.
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
…lector. The example below enables OTLP export for all three signals. `CLAUDE_CODE_ENHANCED_TELEMETRY_BETA` is required only for traces; omit it if you export metrics and logs alone. ```bash title=".e…
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…el request, tool call, and hook (beta) | `OTEL_TRACES_EXPORTER` plus `CLAUDE_CODE_ENHANCED_TELEMETRY_BETA=1` | For the complete list of metric names, event names, and attributes, see the Claude Code…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…r). [Traces](/docs/en/monitoring-usage.md#traces-beta) also require `CLAUDE_CODE_ENHANCED_TELEMETRY_BETA=1` on each client. Set it in a managed policy's `env` block, since the gateway doesn't push it…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…default. To enable it, set both `CLAUDE_CODE_ENABLE_TELEMETRY=1` and `CLAUDE_CODE_ENHANCED_TELEMETRY_BETA=1`, then set `OTEL_TRACES_EXPORTER` to choose where spans are sent. Traces reuse the [common O…
All settings
Claude Code CLI · in the page
settings-reference
…CLAUDE_CODE_ENABLE_TELEMETRY`, plus the enhanced telemetry beta pair `CLAUDE_CODE_ENHANCED_TELEMETRY_BETA` and `ENABLE_ENHANCED_TELEMETRY_BETA` * The exporter selectors `OTEL_LOGS_EXPORTER`, `OTEL…
Configuration reference
Claude Documentation · in the page
third-party/claude-desktop/configuration
…sends. > **More detail** > > Enables Claude Code's session tracing (`CLAUDE_CODE_ENHANCED_TELEMETRY_BETA=1` + `OTEL_TRACES_EXPORTER=otlp`) in spawned Cowork tasks and Code sessions. Each user interac…