Skip to content

Commit

Permalink
is_fallback_route -> is_fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Nov 17, 2023
1 parent 9b0cf6f commit 704113a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/dotnet/dotnet-aspnetcore-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ All routing metrics are reported by the `Microsoft.AspNetCore.Routing` meter.
<!-- semconv metric.aspnetcore.routing.match_attempts(full) -->
| Attribute | Type | Description | Examples | Requirement Level |
|---|---|---|---|---|
| `aspnetcore.routing.is_fallback_route` | boolean | A value that indicates whether the matched route is a fallback route. | `True` | Conditionally Required: if and only if a route was successfully matched. |
| `aspnetcore.routing.is_fallback` | boolean | A value that indicates whether the matched route is a fallback route. | `True` | Conditionally Required: if and only if a route was successfully matched. |
| `aspnetcore.routing.match_status` | string | Match result - success or failure | `success`; `failure` | Required |
| [`http.route`](../attributes-registry/http.md) | string | The matched route, that is, the path template in the format used by the respective server framework. [1] | `/users/:userID?`; `{controller}/{action}/{id?}` | Conditionally Required: if and only if a route was successfully matched. |

Expand Down
4 changes: 2 additions & 2 deletions model/metrics/dotnet/dotnet-aspnetcore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ groups:
brief: Rate-limiting result, shows whether the lease was acquired or contains a rejection reason
examples: ["acquired", "request_canceled"]
requirement_level: required
- id: routing.is_fallback_route
- id: routing.is_fallback
type: boolean
brief: A value that indicates whether the matched route is a fallback route.
examples: [true]
Expand Down Expand Up @@ -62,7 +62,7 @@ groups:
- ref: http.route
requirement_level:
conditionally_required: if and only if a route was successfully matched.
- ref: aspnetcore.routing.is_fallback_route
- ref: aspnetcore.routing.is_fallback
requirement_level:
conditionally_required: if and only if a route was successfully matched.
- id: aspnetcore.routing.match_status
Expand Down

0 comments on commit 704113a

Please sign in to comment.