Skip to content

Commit 5339aab

Browse files
committed
react to feedback
1 parent 4acc4c3 commit 5339aab

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

aspnetcore/log-mon/metrics/built-in/includes/built-in10.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ The `Microsoft.AspNetCore.Hosting` metrics report high-level information about H
2020

2121
| Attribute | Type | Description | Examples | Presence |
2222
|---|---|---|---|---|
23-
| `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. |
2424
| `error.type` | string | Describes a class of error the operation ended with. | `timeout`; `name_resolution_error`; `500` | If request has ended with an error. |
2525
| `http.request.method` | string | HTTP request method. | `GET`; `POST`; `HEAD` | Always |
2626
| `http.response.status_code` | int | [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). | `200` | If one was sent. |
2727
| `network.protocol.version` | string | Version of the protocol specified in `network.protocol.name`. | `3.1.1` | Always |
2828
| `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. |
3030

3131
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:
3232

@@ -68,8 +68,8 @@ The `Microsoft.AspNetCore.Routing` metrics report information about [routing HTT
6868

6969
| Attribute | Type | Description | Examples | Presence |
7070
|---|---|---|---|---|
71-
| `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. |
7373
| `http.route` | string | The matched route | `{controller}/{action}/`<br>`{id?}` | If a route was successfully matched. |
7474

7575
.
@@ -84,12 +84,12 @@ The `Microsoft.AspNetCore.Diagnostics` metrics report diagnostics information fr
8484

8585
| Name | Instrument Type | Unit (UCUM) | Description |
8686
| -------- | --------------- | ----------- | -------------- |
87-
| [`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. |
8888

8989
| Attribute | Type | Description | Examples | Presence |
9090
|---|---|---|---|---|
91-
| `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. |
9393
| `exception.type` | string | The full name of exception type. | `System.OperationCanceledException`; `Contoso.MyException` | Always |
9494

9595
.
@@ -108,7 +108,7 @@ The `Microsoft.AspNetCore.RateLimiting` metrics report rate limiting information
108108

109109
| Name | Instrument Type | Unit (UCUM) | Description |
110110
| -------- | --------------- | ----------- | -------------- |
111-
| [`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. |
112112

113113
| Attribute | Type | Description | Examples | Presence |
114114
|---|---|---|---|---|
@@ -120,7 +120,7 @@ The `Microsoft.AspNetCore.RateLimiting` metrics report rate limiting information
120120

121121
| Name | Instrument Type | Unit (UCUM) | Description |
122122
| -------- | --------------- | ----------- | -------------- |
123-
| [`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. |
124124

125125
| Attribute | Type | Description | Examples | Presence |
126126
|---|---|---|---|---|
@@ -132,7 +132,7 @@ The `Microsoft.AspNetCore.RateLimiting` metrics report rate limiting information
132132

133133
| Name | Instrument Type | Unit (UCUM) | Description |
134134
| -------- | --------------- | ----------- | -------------- |
135-
| [`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. |
136136

137137
| Attribute | Type | Description | Examples | Presence |
138138
|---|---|---|---|---|
@@ -144,25 +144,25 @@ The `Microsoft.AspNetCore.RateLimiting` metrics report rate limiting information
144144

145145
| Name | Instrument Type | Unit (UCUM) | Description |
146146
| -------- | --------------- | ----------- | -------------- |
147-
| [`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. |
148148

149149
| Attribute | Type | Description | Examples | Presence |
150150
|---|---|---|---|---|
151-
| `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 |
153153

154154
.
155155

156156
#### Metric: `aspnetcore.rate_limiting.requests`
157157

158158
| Name | Instrument Type | Unit (UCUM) | Description |
159159
| -------- | --------------- | ----------- | -------------- |
160-
| [`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. |
161161

162162
| Attribute | Type | Description | Examples | Presence |
163163
|---|---|---|---|---|
164-
| `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 |
166166

167167
.
168168

@@ -177,11 +177,11 @@ The `Microsoft.AspNetCore.HeaderParsing` metrics report information about [ASP.N
177177

178178
| Name | Instrument Type | Unit (UCUM) | Description |
179179
|--|--|--|--|
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. |
181181

182182
| Attribute | Type | Description | Examples | Presence |
183183
|--|--|--|--|--|
184-
| `aspnetcore.header_parsing.`<br>`header.name` | string | The header name. | `Content-Type` | Always |
184+
| `aspnetcore.header_parsing.header.name` | string | The header name. | `Content-Type` | Always |
185185
| `error.type` | string | The error message. | `Unable to parse media type value.` | Always |
186186

187187
.
@@ -192,11 +192,11 @@ The metric is emitted only for HTTP request header parsers that support caching.
192192

193193
| Name | Instrument Type | Unit (UCUM) | Description |
194194
| ---- | --------------- | ----------- | ----------- |
195-
| `aspnetcore.header_parsing.`<br>`cache_accesses` | Counter | `{cache_access}` | Number of times a cache storing parsed header values was accessed. |
195+
| `aspnetcore.header_parsing.cache_accesses` | Counter | `{cache_access}` | Number of times a cache storing parsed header values was accessed. |
196196

197197
| Attribute | Type | Description | Examples | Presence |
198198
|---|---|---|---|---|
199-
| `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 |
200200
| `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 |
201201

202202
.

0 commit comments

Comments
 (0)