Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

OpenTelemetry exports can reuse the host's login and retry refused batches

OpenTelemetry exports can reuse the host's credential, and batches refused for a bad credential are re-sent once

You'll notice Improvements
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
TelemetryArea: what it touches
ImprovementsKind: in v2.1.334,
ImprovementsSection of the release

Unclear It is not clear whether CLAUDE_CODE_HOST_AUTH_ENV_VAR is meant to be set by users or by an app that launches Claude Code.

What

Claude Code can send monitoring data to your own collector using OTLP, the OpenTelemetry format. Two things are different:

  • The exporter can reuse the host's login header. CLAUDE_CODE_HOST_AUTH_ENV_VAR names the variable to take it from, either ANTHROPIC_AUTH_TOKEN or ANTHROPIC_CUSTOM_HEADERS. This happens only when the collector address and headers match the host's configuration.
  • When the collector refuses a batch with a 401 or 403 error (a login refusal), Claude Code keeps the batch and sends it once more under the current credential. A log line reports how many batches were re-sent.
Why

Monitoring data refused because a credential expired is no longer quietly lost.

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 doubtIt is not clear whether `CLAUDE_CODE_HOST_AUTH_ENV_VAR` is meant to be set by users or by an app that launches Claude Code.

See this entry in the whole of v2.1.334 →

Feedback