Ambient distributed tracing context #5926
Labels
area-hosting
Includes Hosting
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
Needs: Design
This issue requires design work before implementating.
Milestone
Motivation
Propagate W3C headers to dependant components and make distributed tracing context available even when monitoring is not enabled.
Propagation of headers will ensure that distributed trace will correlate services even when unmonitored ASP.NET app is deployed in-the-middle. Let's take service
A
that injects distributed tracing context and calls ASP.NET appB
. ServiceB
calls serviceC
that expects distributed tracing context in incoming request.If
B
is not being monitored for distributed traces - it should propagate distributed tracing context unmodified. When analysing telemetry from servicesA
andC
it will look likeA
callsC
directly. Once distributed tracing monitoring will be enabled forB
-B
have to start modifying context according to W3C specification. So telemetry analysis will showA
callsB
which callsC
.In both scenarios any other telemetry like
ILogger
traces or stack dumps can be attributed with the distributed tracing context. This will allow to correlate failures of serviceB
with the distributed trace those failures affected.CC: @seth-capistron, @vancem, @jacpull, @lmolkova, @glennc, @davidfowl
The text was updated successfully, but these errors were encountered: