3 pages for otel_log_user_prompts.
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
…s add content to the exported data: | Variable | Adds | | - | - | | `OTEL_LOG_USER_PROMPTS=1` | Prompt text on `claude_code.user_prompt` events and on the `claude_code.interaction` span | | `OTEL_LOG…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…xport interval in milliseconds (default: 5000) | `1000`, `10000` | | `OTEL_LOG_USER_PROMPTS` | Enable logging of user prompt content (default: disabled) | `1` to enable | | `OTEL_LOG_ASSISTANT_RESPONS…
All settings
Claude Code CLI · in the page
settings-reference
…CS_EXPORTER`, and `OTEL_TRACES_EXPORTER` * The content variables `OTEL_LOG_USER_PROMPTS`, `OTEL_LOG_ASSISTANT_RESPONSES`, `OTEL_LOG_TOOL_CONTENT`, and `OTEL_LOG_TOOL_DETAILS` * `OTEL_EXPORTER_…