Component
OpenTelemetry.Instrumentation.AspNetCore
Is your feature request related to a problem?
ASP.NET Core is adding OpenTelemetry semantic convention tags for HTTP servers in .NET 11. See PR here: dotnet/aspnetcore#64851
What is the expected behavior?
This means the OTEL ASP.NET Core contrib package no longer needs to calculate tag values. They're already available.
And it might just mean that adding ASP.NET Core instrumentation is just listening to ASP.NET Core's activity source. That would skip overhead of subscribing to ASP.NET Core events, and could offer a performance boost.
Note that:
- There is an app context switch to disable this feature. It would be really wierd to disable it, but still have OTEL configured. One way to handle this situation is error. Or if you want to still work, then use existing code to calculate tag values in the contrib package
- These tags are only available in .NET 11 or later so older targets will still require existing need code.
Which alternative solutions or features have you considered?
n/a
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Component
OpenTelemetry.Instrumentation.AspNetCore
Is your feature request related to a problem?
ASP.NET Core is adding OpenTelemetry semantic convention tags for HTTP servers in .NET 11. See PR here: dotnet/aspnetcore#64851
What is the expected behavior?
This means the OTEL ASP.NET Core contrib package no longer needs to calculate tag values. They're already available.
And it might just mean that adding ASP.NET Core instrumentation is just listening to ASP.NET Core's activity source. That would skip overhead of subscribing to ASP.NET Core events, and could offer a performance boost.
Note that:
Which alternative solutions or features have you considered?
n/a
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.