claudeacp: ExportTelemetry names the protocol; release 0.8.1 #18
Loading…
Reference in a new issue
No description provided.
Delete branch "otlp-protocol"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
specs-58's question on roomcity's PR: the image pins claude 2.1.311, and
OTEL_EXPORTER_OTLP_PROTOCOLdefaults 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 onlyOTEL_EXPORTER_OTLP_ENDPOINTset no request arrived; withOTEL_EXPORTER_OTLP_PROTOCOL=http/protobufadded,POST /v1/logs(two) andPOST /v1/metricsarrived. 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.