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
agreed, but there the active context actually should have changed since they are doing a context.with(...) (Code), but IMHO it should be solved with a single context.with
What version of OpenTelemetry are you using?
amqplib: 0.32.0
What version of Node are you using?
19.4.0
What did you do?
I'm using baggage propagators and I realized that I loose the baggage when I consume messages.
What did you expect to see?
propagator.getBaggage(context.active())
should return the baggage of the amqp headerWhat did you see instead?
I get null/empty
Additional context
I already found the problem: the wrong context is passed into the
setSpan
method.Right now, the
context.active()
is passed in, but actually theparentContext
must be passed in since only this one contains the baggage.The text was updated successfully, but these errors were encountered: