-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Native Trace Instrumentation Support for ASP.NET Core as per OTel specification #52439
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
Open
1 task done
Labels
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Milestone
Comments
@vishweshbankwar Can you please tell me more about how this relates to #50488? |
Also, this seems like something @JamesNK would already have thought about. |
@cijothomas Sorry, the bot went rogue. I believe it's fixed now. |
1 task
4 tasks
@JamesNK Could you confirm if this is planned for .NET 9? |
No it's not. |
@JamesNK - can we do this in .NET 10? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Uh oh!
There was an error while loading. Please reload this page.
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
Currently, users depend on the instrumentation library provided by the OpenTelemetry .NET repository to enable the enrichment of activities created during incoming requests, following the OpenTelemetry specification. This instrumentation library enriches activities by subscribing to DiagnosticSource events generated by ASP.NET Core. However, this approach has certain limitation and performance overhead of Diagnostic Source listeners and reflection.
Describe the solution you'd like
We are requesting the addition of native instrumentation support for ASP.NET Core in
.NET 9.0
. This enhancement will complement the out-of-the-box OTel metrics instrumentation introduced in.NET 8.0
.Additional context
When designing this feature, we need to consider the following aspects:
Support for Enrichment and Filtering of Spans: Ensure that the native instrumentation supports the enrichment and filtering of ASP.NET Core spans.
Custom Propagators: Address the differences in API between propagators in OpenTelemetry and the
DistributedContextPropagator
. Determine how custom propagators should be handled in this context.The text was updated successfully, but these errors were encountered: