Skip to content

[exporter/zipkin] Support scope attributes #39206

Open
@mx-psi

Description

@mx-psi

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions