From 704113a62fa4359f5614f5d6f0e8b70299e32198 Mon Sep 17 00:00:00 2001 From: Liudmila Molkova Date: Fri, 17 Nov 2023 09:54:38 -0800 Subject: [PATCH] is_fallback_route -> is_fallback --- docs/dotnet/dotnet-aspnetcore-metrics.md | 2 +- model/metrics/dotnet/dotnet-aspnetcore.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/dotnet/dotnet-aspnetcore-metrics.md b/docs/dotnet/dotnet-aspnetcore-metrics.md index 077d973565..e217a1664c 100644 --- a/docs/dotnet/dotnet-aspnetcore-metrics.md +++ b/docs/dotnet/dotnet-aspnetcore-metrics.md @@ -43,7 +43,7 @@ All routing metrics are reported by the `Microsoft.AspNetCore.Routing` meter. | 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. | diff --git a/model/metrics/dotnet/dotnet-aspnetcore.yaml b/model/metrics/dotnet/dotnet-aspnetcore.yaml index b25bc93808..8369e068d5 100644 --- a/model/metrics/dotnet/dotnet-aspnetcore.yaml +++ b/model/metrics/dotnet/dotnet-aspnetcore.yaml @@ -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] @@ -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