Search the documentation
2 pages for claude_code_otel_diag_stderr.
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
…acing an error in your application. To surface exporter errors, set [`CLAUDE_CODE_OTEL_DIAG_STDERR=1`](/docs/en/env-vars) alongside the exporter variables and read the diagnostics through the SDK's `s…
Environment variables
Claude Code CLI · in the page
env-vars
…| | `CLAUDE_CODE_OTEL_DIAG_STDERR` | Set to `1` to write OpenTelemetry exporter diagnostic errors to stderr. B…