opentelemetry_semantic_conventions::metric

Constant ASPNETCORE_ROUTING_MATCH_ATTEMPTS

source
pub const ASPNETCORE_ROUTING_MATCH_ATTEMPTS: &str = "aspnetcore.routing.match_attempts";
Expand description

§Description

Number of requests that were attempted to be matched to an endpoint.

§Notes

Meter name: Microsoft.AspNetCore.Routing; Added in: ASP.NET Core 8.0

§Metadata

Instrument:counter
Unit:{match_attempt}
Status:Stable

§Attributes

NameRequirement
crate::attribute::ASPNETCORE_ROUTING_IS_FALLBACKConditionally_required: if and only if a route was successfully matched.
crate::attribute::ASPNETCORE_ROUTING_MATCH_STATUSRequired
crate::attribute::HTTP_ROUTEConditionally_required: if and only if a route was successfully matched.