Constant ASPNETCORE_AUTHORIZATION_ATTEMPTS
pub const ASPNETCORE_AUTHORIZATION_ATTEMPTS: &'static str;Available on crate features
opentelemetry and semconv_experimental only.Expand description
§Description
The total number of authorization attempts.
§Notes
Meter name: Microsoft.AspNetCore.Authorization; Added in: ASP.NET Core 10.0
§Metadata
| Instrument: | counter |
| Unit: | {attempt} |
| Status: | Development |
§Attributes
| Name | Requirement |
|---|---|
crate::attribute::ASPNETCORE_AUTHORIZATION_POLICY | Conditionally_required: if a policy is specified. |
crate::attribute::ASPNETCORE_AUTHORIZATION_RESULT | Conditionally_required: if no exception was thrown. |
crate::attribute::ASPNETCORE_USER_IS_AUTHENTICATED | Required |
crate::attribute::ERROR_TYPE | Conditionally_required: if and only if an error has occurred. |