-
Notifications
You must be signed in to change notification settings - Fork 354
Open
Labels
comp:instrumentation.aspnetcoreThings related to OpenTelemetry.Instrumentation.AspNetCoreThings related to OpenTelemetry.Instrumentation.AspNetCorecomp:instrumentation.httpThings related to OpenTelemetry.Instrumentation.HttpThings related to OpenTelemetry.Instrumentation.HttpenhancementNew feature or requestNew feature or request
Description
.NET8.0 added OOB support for metrics in ASP.NET Core and HttpClient that aligns with OpenTelemetry semantic conventions. Needs further investigation to check if the instrumentation libraries can be updated to enable these by adding AddMeter in .NET8.0 onwards. Things we need to check
- What will be the experience when users upgrade their target framework to
.NET8.0from lower versions? Will there be significant difference in terms of metric dimensions, request duration value etc.? - There are multiple metrics that are emitted from a single meter, e.g. from
Microsoft.AspNetCore.Hosting, there are two metrics that are emittedhttp.server.active_requestsandhttp.server.request.duration. Onlyhttp.server.request.durationis part of stability plan. How do we handle non-stable metrics that are emitted? As it cannot be part of stable instrumentation library release. - Semantic conventions are in feature freeze, how would we handle the changes if .NET8.0 is released before stable release of semantic conventions?
- How do we handle Enrich/Filter. At present, Asp.Net Core instrumentation offers this for metrics, and .NET also has some mechanism to enrich. Need to ensure a smooth experience for enrich/filter exists. Update 10/6: Follow Enrich and Filter support for metrics [ASP.NET Core] and [HttpClient] #1733
NOTE: This is the initial list of things, may add more as we go through the investigation.
Reference PRs
HttpClient
https://github.com/dotnet/runtime/pull/89809/files
dotnet/runtime#87319
ASP.NET Core
dotnet/aspnetcore#48375
dotnet/aspnetcore#46834
cijothomas
Metadata
Metadata
Assignees
Labels
comp:instrumentation.aspnetcoreThings related to OpenTelemetry.Instrumentation.AspNetCoreThings related to OpenTelemetry.Instrumentation.AspNetCorecomp:instrumentation.httpThings related to OpenTelemetry.Instrumentation.HttpThings related to OpenTelemetry.Instrumentation.HttpenhancementNew feature or requestNew feature or request