claudeacp: ExportTelemetry names the protocol; release 0.8.1 #18

Merged
mikluko merged 2 commits from otlp-protocol into main 2026-11-16 10:57:32 +00:00
Owner

specs-58's question on roomcity's PR: the image pins claude 2.1.311, and OTEL_EXPORTER_OTLP_PROTOCOL defaults to http/protobuf only from 2.1.323. Measured with the image's own version (@anthropic-ai/claude-code@2.1.311, one turn each, the switches set, a local OTLP receiver): with only OTEL_EXPORTER_OTLP_ENDPOINT set no request arrived; with OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf added, POST /v1/logs (two) and POST /v1/metrics arrived. So the library sets the protocol (a value the environment names is kept), which holds for old and new claude alike; the image's claude need not move. This PR is the fix with its test and the 0.8.1 release heading in one, as the repository's release is the pull request that names the version.

specs-58's question on roomcity's PR: the image pins claude 2.1.311, and `OTEL_EXPORTER_OTLP_PROTOCOL` defaults to http/protobuf only from 2.1.323. Measured with the image's own version (`@anthropic-ai/claude-code@2.1.311`, one turn each, the switches set, a local OTLP receiver): with only `OTEL_EXPORTER_OTLP_ENDPOINT` set **no request arrived**; with `OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf` added, `POST /v1/logs` (two) and `POST /v1/metrics` arrived. So the library sets the protocol (a value the environment names is kept), which holds for old and new claude alike; the image's claude need not move. This PR is the fix with its test and the 0.8.1 release heading in one, as the repository's release is the pull request that names the version.
Assisted-By: Claude <noreply@anthropic.com>
Release 0.8.1
All checks were successful
CI / Changelog (pull_request) Successful in 4s
CI / Test (pull_request) Successful in 25s
CI / Lint (pull_request) Successful in 30s
606a9ab373
Assisted-By: Claude <noreply@anthropic.com>
mikluko deleted branch otlp-protocol 2026-11-16 10:57:32 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mikluko/claudeacp!18
No description provided.