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
Name | Requirement |
---|---|
crate::attribute::ASPNETCORE_RATE_LIMITING_POLICY | Conditionally_required : if the matched endpoint for the request had a rate-limiting policy. |