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
I am trying to fetch baggage from the headers using Propagator.Extract. I do get the traceParent but the parentContext.Baggage is empty. I am using RabbitMQ and I am including the baggage before posting the message. I can see the baggage in the header as well, attached screeshot.
I am expecting the baggage to be passed over to the worker service.
This is how I am setting the baggage in the MessageSender:
Baggage.SetBaggage("OtelBaggage", "OTelBaggageValue");
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to fetch baggage from the headers using Propagator.Extract. I do get the traceParent but the parentContext.Baggage is empty. I am using RabbitMQ and I am including the baggage before posting the message. I can see the baggage in the header as well, attached screeshot.
This is the sample that I am refering to https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/examples/MicroserviceExample/Utils/Messaging/MessageReceiver.cs#:~:text=Baggage.Current%20%3D%20parentContext.Baggage%3B
I am expecting the baggage to be passed over to the worker service.
This is how I am setting the baggage in the MessageSender:
Baggage.SetBaggage("OtelBaggage", "OTelBaggageValue");
The text was updated successfully, but these errors were encountered: