Constant ASPNETCORE_RATE_LIMITING_REQUESTS
pub const ASPNETCORE_RATE_LIMITING_REQUESTS: &'static str;Expand description
§Description
Number of requests that tried to acquire a rate limiting lease.
§Notes
Requests could be:
- Rejected by global or endpoint rate limiting policies
- Canceled while waiting for the lease.
Meter name: Microsoft.AspNetCore.RateLimiting; Added in: ASP.NET Core 8.0
§Metadata
| Instrument: | counter |
| Unit: | {request} |
| 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. |
crate::attribute::ASPNETCORE_RATE_LIMITING_RESULT | Required |