You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`http.route`| string | The matched route. |`{controller}/{action}/`<br>`{id?}`| If it's available. |
23
+
|`http.route`| string | The matched route. |`{controller}/{action}/{id?}`| If it's available. |
24
24
|`error.type`| string | Describes a class of error the operation ended with. |`timeout`; `name_resolution_error`; `500`| If request has ended with an error. |
|`http.response.status_code`| int |[HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). |`200`| If one was sent. |
27
27
|`network.protocol.version`| string | Version of the protocol specified in `network.protocol.name`. |`3.1.1`| Always |
28
28
|`url.scheme`| string | The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol. |`http`; `https`| Always |
29
-
|`aspnetcore.request.`<br>`is_unhandled`| Boolean | True when the request wasn't handled by the application pipeline. |`true`| If the request was unhandled. |
29
+
|`aspnetcore.request.is_unhandled`| Boolean | True when the request wasn't handled by the application pipeline. |`true`| If the request was unhandled. |
30
30
31
31
The time used to handle an inbound HTTP request as measured at the hosting layer of ASP.NET Core. The time measurement starts once the underlying web host has:
32
32
@@ -68,8 +68,8 @@ The `Microsoft.AspNetCore.Routing` metrics report information about [routing HTT
|`aspnetcore.routing`<br>`.match_status`| string | Match result |`success`; `failure`| Always |
72
-
|`aspnetcore.routing.`<br>`is_fallback_route`| boolean | A value that indicates whether the matched route is a fallback route. |`True`| If a route was successfully matched. |
71
+
|`aspnetcore.routing.match_status`| string | Match result |`success`; `failure`| Always |
72
+
|`aspnetcore.routing.is_fallback_route`| boolean | A value that indicates whether the matched route is a fallback route. |`True`| If a route was successfully matched. |
73
73
|`http.route`| string | The matched route |`{controller}/{action}/`<br>`{id?}`| If a route was successfully matched. |
74
74
75
75
.
@@ -84,12 +84,12 @@ The `Microsoft.AspNetCore.Diagnostics` metrics report diagnostics information fr
84
84
85
85
| Name | Instrument Type | Unit (UCUM) | Description |
|[`aspnetcore.diagnostics.`<br>`exceptions`](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/#metric-aspnetcorediagnosticsexceptions)| Counter |`{exception}`| Number of exceptions caught by exception handling middleware. |
87
+
|[`aspnetcore.diagnostics.exceptions`](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/#metric-aspnetcorediagnosticsexceptions)| Counter |`{exception}`| Number of exceptions caught by exception handling middleware. |
|`aspnetcore.diagnostics.`<br>`exception.result`| string | ASP.NET Core exception middleware handling result |`handled`; `unhandled`| Always |
92
-
|`aspnetcore.diagnostics`<br>`.handler.type`| string | Full type name of the [`IExceptionHandler`](/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception. |`Contoso.MyHandler`| If the exception was handled by this handler. |
91
+
|`aspnetcore.diagnostics.exception.result`| string | ASP.NET Core exception middleware handling result |`handled`; `unhandled`| Always |
92
+
|`aspnetcore.diagnostics.handler.type`| string | Full type name of the [`IExceptionHandler`](/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception. |`Contoso.MyHandler`| If the exception was handled by this handler. |
93
93
|`exception.type`| string | The full name of exception type. |`System.OperationCanceledException`; `Contoso.MyException`| Always |
94
94
95
95
.
@@ -108,7 +108,7 @@ The `Microsoft.AspNetCore.RateLimiting` metrics report rate limiting information
108
108
109
109
| Name | Instrument Type | Unit (UCUM) | Description |
|[`aspnetcore.rate_limiting.`<br>`active_request_leases`](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/#metric-aspnetcorerate_limitingactive_request_leases)| UpDownCounter |`{request}`| Number of requests that are currently active on the server that hold a rate limiting lease. |
111
+
|[`aspnetcore.rate_limiting.active_request_leases`](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/#metric-aspnetcorerate_limitingactive_request_leases)| UpDownCounter |`{request}`| Number of requests that are currently active on the server that hold a rate limiting lease. |
|[`aspnetcore.rate_limiting.`<br>`request_lease.duration`](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/#metric-aspnetcorerate_limitingrequest_leaseduration)| Histogram |`s`| The duration of the rate limiting lease held by requests on the server. |
123
+
|[`aspnetcore.rate_limiting.request_lease.duration`](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/#metric-aspnetcorerate_limitingrequest_leaseduration)| Histogram |`s`| The duration of the rate limiting lease held by requests on the server. |
|[`aspnetcore.rate_limiting.`<br>`queued_requests`](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/#metric-aspnetcorerate_limitingqueued_requests)| UpDownCounter |`{request}`| Number of requests that are currently queued waiting to acquire a rate limiting lease. |
135
+
|[`aspnetcore.rate_limiting.queued_requests`](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/#metric-aspnetcorerate_limitingqueued_requests)| UpDownCounter |`{request}`| Number of requests that are currently queued waiting to acquire a rate limiting lease. |
|[`aspnetcore.rate_limiting.`<br>`request.time_in_queue`](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/#metric-aspnetcorerate_limitingrequesttime_in_queue)| Histogram |`s`| The time a request spent in a queue waiting to acquire a rate limiting lease. |
147
+
|[`aspnetcore.rate_limiting.request.time_in_queue`](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/#metric-aspnetcorerate_limitingrequesttime_in_queue)| Histogram |`s`| The time a request spent in a queue waiting to acquire a rate limiting lease. |
|`aspnetcore.rate_limiting.`<br>`policy`| string | Rate limiting policy name. |`fixed`; `sliding`; `token`| If the matched endpoint for the request had a rate-limiting policy. |
152
-
|`aspnetcore.rate_limiting.`<br>`result`| string | The rate limiting result shows whether lease was acquired or contains a rejection reason. |`acquired`; `request_canceled`| Always |
151
+
|`aspnetcore.rate_limiting.policy`| string | Rate limiting policy name. |`fixed`; `sliding`; `token`| If the matched endpoint for the request had a rate-limiting policy. |
152
+
|`aspnetcore.rate_limiting.result`| string | The rate limiting result shows whether lease was acquired or contains a rejection reason. |`acquired`; `request_canceled`| Always |
153
153
154
154
.
155
155
156
156
#### Metric: `aspnetcore.rate_limiting.requests`
157
157
158
158
| Name | Instrument Type | Unit (UCUM) | Description |
|[`aspnetcore.rate_limiting.`<br>`requests`](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/#metric-aspnetcorerate_limitingrequests)| Counter |`{request}`| Number of requests that tried to acquire a rate limiting lease. |
160
+
|[`aspnetcore.rate_limiting.requests`](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/#metric-aspnetcorerate_limitingrequests)| Counter |`{request}`| Number of requests that tried to acquire a rate limiting lease. |
|`aspnetcore.rate_limiting.`<br>`policy`| string | Rate limiting policy name. |`fixed`; `sliding`; `token`| If the matched endpoint for the request had a rate-limiting policy. |
165
-
|`aspnetcore.rate_limiting.`<br>`result`| string | The rate limiting result shows whether lease was acquired or contains a rejection reason. |`acquired`; `request_canceled`| Always |
164
+
|`aspnetcore.rate_limiting.policy`| string | Rate limiting policy name. |`fixed`; `sliding`; `token`| If the matched endpoint for the request had a rate-limiting policy. |
165
+
|`aspnetcore.rate_limiting.result`| string | The rate limiting result shows whether lease was acquired or contains a rejection reason. |`acquired`; `request_canceled`| Always |
166
166
167
167
.
168
168
@@ -177,11 +177,11 @@ The `Microsoft.AspNetCore.HeaderParsing` metrics report information about [ASP.N
177
177
178
178
| Name | Instrument Type | Unit (UCUM) | Description |
179
179
|--|--|--|--|
180
-
|`aspnetcore.header_parsing.`<br>`parse_errors`| Counter |`{parse_error}`| Number of errors that occurred when parsing HTTP request headers. |
180
+
|`aspnetcore.header_parsing.parse_errors`| Counter |`{parse_error}`| Number of errors that occurred when parsing HTTP request headers. |
|`aspnetcore.header_parsing.`<br>`header.name`| string | The header name. |`Content-Type`| Always |
199
+
|`aspnetcore.header_parsing.header.name`| string | The header name. |`Content-Type`| Always |
200
200
|`aspnetcore.header_parsing.cache_access.type`| string | A value indicating whether the header's value was found in the cache or not. |`Hit`; `Miss`| Always |
0 commit comments