feature request: ability to log/trace the full llm span (query and response)

Resolved 💬 10 comments Opened Jun 14, 2025 by rawwerks Closed Jan 23, 2026

as far as i can tell from spending half a day trying to figure this out, OTEL_LOG_USER_PROMPTS will log the prompt, but there is no way to log the response from claude.

!Image

is this true?

this seems crazy to me, is there a reason why everything but the response itself can be logged with otel? i don't see why it would be a privacy/security issue, since the response is returned to the user.

maybe there is something i'm missing, why is this a "privacy issue"?

View original on GitHub ↗

This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗