[FEATURE] Does claude-gateway support capturing full prompt/response content in telemetry, and if so, what's the supported config key?
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Hi,
Does claude-gateway support capturing full prompt/response content in telemetry, and if so, what's the supported config key?
currently they captured like below in CW logs. how to capture it?
"response": "<REDACTED>"
"prompt": "<REDACTED>"
Below is my gateway.yaml configuration for telemetry.
Document referred : https/code.claude.com/docs/en/claude-apps-gateway-config#telemetry
telemetry:
forward_to:
# Per-signal opt-in. Default: metrics only.
metrics: true
logs: true
traces: true
I am using claude gateway version : 2.1.211
I tried below configurations in my docker-compose.yaml file while building claude-gateway container. But no luck.
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT: true
OTEL_LOG_USER_PROMPTS: 1
TRACELOOP_TRACE_CONTENT: true
Proposed Solution
https/code.claude.com/docs/en/claude-apps-gateway-config#telemetry
Don't have option in documentation .
Alternative Solutions
_No response_
Priority
Critical - Blocking my work
Feature Category
Configuration and settings
Use Case Example
We are using Claude App gateway to connect Claude models (Bedrock) from Claude CLI.
https://code.claude.com/docs/en/claude-apps-gateway
Additional Context
_No response_