Search the documentation
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
…---------------------------------------------------------------- | | `OTEL_LOG_USER_PROMPTS=1` | Prompt text on `claude_code.user_prompt` events and on the `claude_code.interaction` span…
Claude Code changelog
Claude Code CLI · in the page
changelog
…`OTEL_LOG_ASSISTANT_RESPONSES=1`; when that var is unset it follows `OTEL_LOG_USER_PROMPTS`, so deployments that already log prompt content will start receiving response content on upgrade — set `OTE…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…| | `OTEL_LOG_USER_PROMPTS` | Enable logging of user prompt content (default: disabled)…