baggage.Members() returns members with hasData
set to false
#3164
Closed
Description
Description
NOTE: I'm not sure if this is actually a bug or working as intended, so feel free to close it.
When calling baggage.Members()
the slice of Member
returned has all elements with hasData
set to false
. This prevents them from being set in other baggages since baggage.SetMember()
will fail.
Environment
- OS: macOS
- Architecture: x86
- Go Version: 1.19
- opentelemetry-go version: 1.9.0
Steps To Reproduce
Sample playground: https://go.dev/play/p/tJa5-fMVCk1
Expected behavior
Members returned by baggage.Members()
can be used in other baggages.
Metadata
Assignees
Type
Projects
Status
Closed