Add support for HTTP trace context transfer during a http redirect #27422
Labels
affected-very-few
This issue impacts very few customers
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
feature-httpclientfactory
Includes: HttpClientFactory (some bugs also in Extensions repo)
severity-minor
This label is used by an internal tool
Milestone
DotNet supports trace-context transfer through headers in the HTTP communication.
But when HTTP redirect occurs, the trace context information lost.
Currently, the W3C standard does not cover this case also, see: w3c/trace-context#438
But there are not too big amount of possible options.
Until HttpClients will start to support trace context headers preserving during HTTP redirects (which might never happen), query string can be used as a transport.
Microsoft.Extensions.Http
library should be improved to instrumentHttpClient
if this feature is turned on.The text was updated successfully, but these errors were encountered: