You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The go.opentelemetry.io/contrib/processors/baggage/baggagetrace package sits on the go.opentelemetry.io/contrib/processors/* prefix. This package prefix will need to be used for log processors as well.
The baggagetrace package name is not descriptive of the functionality it provides. A name indicating the package provides a SpanProcessor that will copy baggage values into a span should be used instead.
Proposal
Copy the package to a new package under the new processors/span directory
Use processors/span and not processors/trace as this is for a SpanProcessor
I would go for go.opentelemetry.io/contrib/processors/span/baggagecopy. The long import path shouldn't matter much (and we have longer ones), and it's the clearest name.
go.opentelemetry.io/contrib/processors/baggage/baggagetrace
package sits on thego.opentelemetry.io/contrib/processors/*
prefix. This package prefix will need to be used for log processors as well.baggagetrace
package name is not descriptive of the functionality it provides. A name indicating the package provides aSpanProcessor
that will copy baggage values into a span should be used instead.Proposal
processors/span
directoryprocessors/span
and notprocessors/trace
as this is for aSpanProcessor
go.opentelemetry.io/contrib/processors/span/bagcp
go.opentelemetry.io/contrib/processors/span/bagcopy
go.opentelemetry.io/contrib/processors/span/baggagecp
go.opentelemetry.io/contrib/processors/span/baggagecopy
go.opentelemetry.io/contrib/processors/baggage/baggagetrace
in favor of the new package.The text was updated successfully, but these errors were encountered: