diff --git a/docs/dotnet/dotnet-aspnet-metrics.md b/docs/dotnet/dotnet-aspnet-metrics.md index 0801bad75b..29000c06c4 100644 --- a/docs/dotnet/dotnet-aspnet-metrics.md +++ b/docs/dotnet/dotnet-aspnet-metrics.md @@ -9,7 +9,7 @@ This document defines semantic conventions for ASP.NET Core metrics, not specifi - [Server](#server) - * [Metric: `aspnet.server.unhandled_requests`](#metric-aspnetserverunhandled_requests) + * [Metric: `aspnet.unhandled_requests`](#metric-aspnetunhandled_requests) - [Routing](#routing) * [Metric: `aspnet.routing.successful_matches`](#metric-aspnetroutingsuccessful_matches) - [Exception metrics](#exception-metrics) @@ -25,19 +25,19 @@ This document defines semantic conventions for ASP.NET Core metrics, not specifi ## Server -### Metric: `aspnet.server.unhandled_requests` +### Metric: `aspnet.unhandled_requests` **TODO:Any chance we will need to report any attributes in future?** - + | Name | Instrument Type | Unit (UCUM) | Description | | -------- | --------------- | ----------- | -------------- | -| `aspnet.server.unhandled_requests` | UpDownCounter | `{request}` | Number of requests that reached the end of the middleware pipeline without being handled by application code. [1] | +| `aspnet.unhandled_requests` | UpDownCounter | `{request}` | Number of requests that reached the end of the middleware pipeline without being handled by application code. [1] | **[1]:** Meter name is `Microsoft.AspNetCore.Hosting`. - + ## Routing diff --git a/model/metrics/dotnet-aspnet.yaml b/model/metrics/dotnet-aspnet.yaml index 9dd4f90ebb..777f50495a 100644 --- a/model/metrics/dotnet-aspnet.yaml +++ b/model/metrics/dotnet-aspnet.yaml @@ -70,9 +70,9 @@ groups: - ref: server.port note: "**TODO: this is opt-in in otel, i.e. it needs explicit configuration option to be reported**" - - id: metric.aspnet.server.unhandled_requests + - id: metric.aspnet.unhandled_requests type: metric - metric_name: aspnet.server.unhandled_requests + metric_name: aspnet.unhandled_requests brief: Number of requests that reached the end of the middleware pipeline without being handled by application code. instrument: updowncounter unit: "{request}"