-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Milestone
Description
Hello, I am trying to integrate CAP with OpenTracing.
I have found the Helper.AddTracingHeaderProperty method that looks like exactly for this purpose, but any data added as TracingHeaders will be overwritten in BasePublishMessageSender.SendWithoutRetryAsync with just empty TracingHeaders object. How can I add tracing metadata to messages? Or should I just add my logic and content field for it?
P.S.
- Here new TracingHeaders object are set to
eventData.Headers(https://github.com/dotnetcore/CAP/blob/master/src/DotNetCore.CAP/IPublishMessageSender.Base.cs#L160) - And here my TracingHeaders data in Content overwritten because
tracingResult.Item2 != nullalways true (because of p.1) (https://github.com/dotnetcore/CAP/blob/master/src/DotNetCore.CAP/IPublishMessageSender.Base.cs#L72)
Reactions are currently unavailable