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

TraceParent is not being sent in Http Request Headers in net framework 472 #1588

Closed
sunildatla opened this issue Feb 20, 2024 · 2 comments
Closed
Labels
comp:instrumentation.aspnet Things related to OpenTelemetry.Instrumentation.AspNet

Comments

@sunildatla
Copy link

Issue with OpenTelemetry.Instrumentation.AspNet

List of all OpenTelemetry NuGet
packages
and version that you are
using (e.g. OpenTelemetry 1.3.2):

  • TBD

Runtime version net472

Is this a feature request or a bug?

Bug

What is the expected behavior?

TraceParent should flow in Http headers when using HttpClient

What do you expect to see?

Do not see traceparent in http headers

Here is the minimal repro :
https://github.com/sunildatla/TraceParentExampleForNetFX

-In global.asax.cs added below line of code to start tracebuilder
Sdk.CreateTracerProviderBuilder().AddAspNetInstrumentation().AddHttpClientInstrumentation().AddSource("*").AddConsoleExporter().Build();

@sunildatla sunildatla added the comp:instrumentation.aspnet Things related to OpenTelemetry.Instrumentation.AspNet label Feb 20, 2024
@cijothomas
Copy link
Member

https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main/examples/AspNet Can you start with the example from this repo, and add changes to it incrementally?

@martinjt
Copy link
Member

martinjt commented Jun 2, 2024

Stale issue as no response after 4 months.

@martinjt martinjt closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:instrumentation.aspnet Things related to OpenTelemetry.Instrumentation.AspNet
Projects
None yet
Development

No branches or pull requests

3 participants