opentelemetry_semantic_conventions::metric

Constant ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION

source
pub const ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION: &str = "aspnetcore.rate_limiting.request_lease.duration";
Expand description

§Description

The duration of rate limiting lease held by requests on the server.

§Notes

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

§Metadata

Instrument:histogram
Unit:s
Status:Stable

§Attributes

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