[exporter/zipkin] Support scope attributes #39206
Labels
enhancement
New feature or request
exporter/zipkin
good first issue
Good for newcomers
help wanted
Extra attention is needed
priority:p1
High
Component(s)
exporter/zipkin
Is your feature request related to a problem? Please describe.
The Zipkin exporter currently ignores the scope attributes on OTLP payloads. This leads to missing information and we have a repo-wide initiative to support scope attributes, see #38744
Describe the solution you'd like
Scope attributes are added as tags, having precedence over resource attributes but being overwrritten by span attributes with the same name (to be consistent with how we add resource attributes).
We should take open-telemetry/opentelemetry-specification/issues/4473 into account to make sure we have a consistent behavior across implementations.
Describe alternatives you've considered
Alternatively, resource and scope attributes can be added under a particular namespace that is reserved for attributes of a particular type. There is precedent for this on the Prometheus mapping.
Additional context
Also relates to open-telemetry/opentelemetry-specification/issues/2535
The text was updated successfully, but these errors were encountered: