Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide extension on the HTTP client to propagate dependency ID (option #2) #258

Closed
stijnmoreels opened this issue Oct 12, 2021 · 0 comments · Fixed by #346
Closed

Provide extension on the HTTP client to propagate dependency ID (option #2) #258

stijnmoreels opened this issue Oct 12, 2021 · 0 comments · Fixed by #346
Assignees
Labels
area:telemetry All issues related to telemetry service-to-service-correlation Issues related to service to service correlation.
Milestone

Comments

@stijnmoreels
Copy link
Member

Is your feature request related to a problem? Please describe.
When sending out a HTTP message, we need to track it as a HTTP dependency in Application Insights. To link the correlation between services, we need to propagate the dependency ID to the HTTP telemetry model and enrich the HTTP headers with the correlation information.

Describe the solution you'd like
Option 2 is to create an extension on the HttpClient that takes in:

  • the operation name, and
  • the correlation information

Describe alternatives you've considered
Option 1: where we provide a dedicated HTTP message handler #257.

Additional context
https://thomaslevesque.com/2016/12/08/fun-with-the-httpclient-pipeline/
https://github.com/arcus-azure/arcus-service-to-service-correlation-poc
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/http-requests?view=aspnetcore-5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:telemetry All issues related to telemetry service-to-service-correlation Issues related to service to service correlation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant