opentelemetry_semantic_conventions::metric

Constant ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES

source
pub const ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES: &str = "aspnetcore.rate_limiting.active_request_leases";
Expand description

§Description

Number of requests that are currently active on the server that hold a rate limiting lease.

§Notes

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

§Metadata

Instrument:updowncounter
Unit:{request}
Status:Stable

§Attributes

NameRequirement
crate::attribute::ASPNETCORE_RATE_LIMITING_POLICYConditionally_required: if the matched endpoint for the request had a rate-limiting policy.