Skip to content

Remove ActivityPropagationHandler breaking change #1316

Answered by MihaZupan
leastprivilege asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

We originally added the handler to YARP as a workaround to bridge the gap in SocketsHttpHandler, where it couldn't make use of distributed tracing out of the box.
The good news is that we made a lot of improvements in the area for the 6.0 release with the introduction of the DistributedContextPropagator class. As part of the change, we enabled distributed tracing on SocketsHttpHandler by default as well, including the option to configure it via the ActivityHeadersPropagator property.

As such, the scenario is expected to "just work" in YARP on .NET 6.0 and newer by default, there is no need to use workarounds like the ActivityPropagationHandler.

For versions before 6.0, YARP will work …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@karelz
Comment options

@leastprivilege
Comment options

@MihaZupan
Comment options

Answer selected by leastprivilege
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants