otel
The tracked changes tagged otel, newest release first. Every sentence is an item's summary.
Goes with
Changes
Claude Code v2.1.325
-
Fixed a missing OpenTelemetry user_prompt event for a message sent while tool calls run; the event now has delivery.mode mid_turn and the running turn's prompt.id.
-
Fixed the OpenTelemetry user_prompt event omitting earlier messages' text when queued messages merged into one turn in VS Code or when a message had an image.
Claude Code v2.1.323
-
Fixed OpenTelemetry export failing silently when an otlp exporter had an endpoint but no OTEL_EXPORTER_OTLP_PROTOCOL; it now defaults to http/protobuf.
-
Fixed OpenTelemetry export to the default localhost:4318 endpoint going through a configured proxy.
-
Fixed one malformed OTEL_RESOURCE_ATTRIBUTES entry dropping all attributes; other entries are kept and /status names the one left off.
-
Fixed OpenTelemetry user_prompt events and interaction spans recording a background agent's reply when OTEL_LOG_ASSISTANT_RESPONSES=0.
-
Fixed OpenTelemetry exports failing when a proxy took over 10 seconds to reach the collector; the timeout is now 25 seconds, the maximum OTEL_EXPORTER_OTLP_TIMEOUT allows (previously 30).
Claude Code v2.1.317
-
Adds anthropic.plan, anthropic.seat_type, anthropic.provider and anthropic.custom_base_url attributes to OTel metrics, events and spans.
-
Fixes OpenTelemetry exports to an https endpoint through a proxy never being sent when they started while another export was still in progress.
-
Fixes a flood of connection attempts to a proxy that blocks (HTTP 403) OpenTelemetry exports to an http endpoint.
-
Fixes OpenTelemetry exports hanging indefinitely behind a proxy that never answers; they now time out after 10 seconds, or up to 30 seconds via OTEL_EXPORTER_OTLP_TIMEOUT.