Search the documentation
5 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
…uest, 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
…[Traces](/docs/en/monitoring-usage#traces-beta) additionally require `CLAUDE_CODE_ENHANCED_TELEMETRY_BETA=1` on each client. The gateway doesn't push that variable, so set it through a managed policy'…
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…
Configuration reference
Claude Documentation · in the page
third-party/claude-desktop/configuration
…cesEnabled details"> Enables Claude Code's session-tracing beta (`CLAUDE_CODE_ENHANCED_TELEMETRY_BETA=1` + `OTEL_TRACES_EXPORTER=otlp`) in spawned Cowork tasks and Code sessions. Each user interac…