You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
TelemetryArea: what it touches
ImprovementsKind: in v2.1.288,
ImprovementsSection of the release
Unclear Exactly what the cleaning step removes beyond account memory text is not shown.
What
Claude Code can send traces (records of what happened in a session) to monitoring tools using OpenTelemetry, a standard for that kind of data. With OTEL_LOG_USER_PROMPTS set, these traces include prompt text. That text used to be logged as it was.
The following are now passed through a cleaning step that removes account memory text, the notes saved to your account's memory:
system prompt and your prompts
model output
tool input and results
errors
If the account memory text cannot be picked out, the content is left out entirely.
Why
If you export traces, your saved account memory no longer ends up in them. Some fields may come through empty.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed sinceAnthropic's documentation has since written up OTEL_LOG_USER_PROMPTS, on Monitoring.| `new_context` | `claude_code.interaction` | The user prompt | `OTEL_LOG_USER_PROMPTS` |monitoring-usagesee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtExactly what the cleaning step removes beyond account memory text is not shown.
Anthropic's documentation agreesAnthropic's documentation has since written up OTEL_LOG_USER_PROMPTS, on Monitoring.