Zipkin exporter and collector do not agree on wire representation of status codes #3287
Labels
bug
Something isn't working
help wanted
Extra attention is needed
pkg:exporter:zipkin
Related to the Zipkin exporter package
Milestone
Description
The Zipkin exporter and collector do not agree on wire representation of status codes. Please let me know if this issue should be filed in open-telemetry/opentelemetry-collector-contrib instead.
The Zipkin exporter serializes status codes as
Unset
,Error
, andOk
:opentelemetry-go/exporters/zipkin/model.go
Lines 211 to 213 in 5568a30
opentelemetry-go/codes/codes.go
Lines 38 to 42 in d616df6
However, the collector expects
STATUS_CODE_UNSET
,STATUS_CODE_OK
, orSTATUS_CODE_ERROR
, see here.Environment
opentelemetry-go v1.11.0
opentelemetry-collector-contrib v0.62.0
Steps To Reproduce
Using Grafana Tempo's local example:
Expected behavior
Status is correctly passed between exporter and collector.
The text was updated successfully, but these errors were encountered: