Skip to main content

ASPNETCORE_AUTHENTICATION_AUTHENTICATE_DURATION

Constant ASPNETCORE_AUTHENTICATION_AUTHENTICATE_DURATION 

pub const ASPNETCORE_AUTHENTICATION_AUTHENTICATE_DURATION: &'static str;
Available on crate features opentelemetry and semconv_experimental only.
Expand description

§Description

The authentication duration for a request.

§Notes

Meter name: Microsoft.AspNetCore.Authentication; Added in: ASP.NET Core 10.0

§Metadata

Instrument:histogram
Unit:s
Status:Development

§Attributes

NameRequirement
crate::attribute::ASPNETCORE_AUTHENTICATION_RESULTRequired
crate::attribute::ASPNETCORE_AUTHENTICATION_SCHEMEConditionally_required: if a scheme is specified during authentication.
crate::attribute::ERROR_TYPEConditionally_required: if and only if an error has occurred.