The matched route, that is, the path template in the format used by the respective server framework. [1]
/users/:userID?; {controller}/{action}/{id?}
Conditionally Required if and only if a route was successfully matched.
[1] http.route: MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it.
SHOULD include the application root if there is one.
aspnetcore.routing.match_status has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
failure
Match failed
success
Match succeeded
Exceptions
Exceptions Metric is reported by the Microsoft.AspNetCore.Diagnostics meter.
Metric: aspnetcore.diagnostics.exceptions
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.diagnostics.exceptions
Counter
{exception}
Number of exceptions caught by exception handling middleware. [1]
[1]: Meter name: Microsoft.AspNetCore.Diagnostics; Added in: ASP.NET Core 8.0
Full type name of the IExceptionHandler implementation that handled the exception.
Contoso.MyHandler
Conditionally Required [1]
[1] aspnetcore.diagnostics.handler.type: if and only if the exception was handled by this handler.
aspnetcore.diagnostics.exception.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
aborted
Exception handling didn’t run because the request was aborted.
handled
Exception was handled by the exception handling middleware.
skipped
Exception handling was skipped because the response had started.
unhandled
Exception was not handled by the exception handling middleware.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Rate-limiting
All rate-limiting metrics are reported by the Microsoft.AspNetCore.RateLimiting meter.
[1] aspnetcore.rate_limiting.policy: if the matched endpoint for the request had a rate-limiting policy.
aspnetcore.rate_limiting.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
acquired
Lease was acquired
endpoint_limiter
Lease request was rejected by the endpoint limiter
global_limiter
Lease request was rejected by the global limiter
request_canceled
Lease request was canceled
Metric: aspnetcore.rate_limiting.requests
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.rate_limiting.requests
Counter
{request}
Number of requests that tried to acquire a rate limiting lease. [1]
[1]: 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
[1] aspnetcore.rate_limiting.policy: if the matched endpoint for the request had a rate-limiting policy.
aspnetcore.rate_limiting.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
acquired
Lease was acquired
endpoint_limiter
Lease request was rejected by the endpoint limiter
global_limiter
Lease request was rejected by the global limiter
request_canceled
Lease request was canceled
Memory pool
All memory pool metrics are reported by the Microsoft.AspNetCore.MemoryPool meter.
Metric: aspnetcore.memory_pool.pooled
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.memory_pool.pooled
UpDownCounter
By
Number of bytes currently pooled and available for reuse. [1]
[1]: Meter name: Microsoft.AspNetCore.MemoryPool; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
aspnetcore.authentication.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
failure
Authentication failed.
none
No authentication information returned.
success
Authentication was successful.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Metric: aspnetcore.authentication.challenges
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.authentication.challenges
Counter
{challenge}
The total number of times a scheme is challenged. [1]
[1]: Meter name: Microsoft.AspNetCore.Authentication; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Metric: aspnetcore.authentication.forbids
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.authentication.forbids
Counter
{forbid}
The total number of times an authenticated user attempts to access a resource they are not permitted to access. [1]
[1]: Meter name: Microsoft.AspNetCore.Authentication; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Metric: aspnetcore.authentication.sign_ins
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.authentication.sign_ins
Counter
{sign_in}
The total number of times a principal is signed in with a scheme. [1]
[1]: Meter name: Microsoft.AspNetCore.Authentication; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Metric: aspnetcore.authentication.sign_outs
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.authentication.sign_outs
Counter
{sign_out}
The total number of times a principal is signed out with a scheme. [1]
[1]: Meter name: Microsoft.AspNetCore.Authentication; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Authorization
All authorization metrics are reported by the Microsoft.AspNetCore.Authorization meter.
Metric: aspnetcore.authorization.attempts
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.authorization.attempts
Counter
{attempt}
The total number of authorization attempts. [1]
[1]: Meter name: Microsoft.AspNetCore.Authorization; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
aspnetcore.authorization.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
failure
Authorization failed.
success
Authorization was successful.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Identity
All ASP.NET Core Identity metrics are reported by the Microsoft.AspNetCore.Identity meter.
Metric: aspnetcore.identity.user.create.duration
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.identity.user.create.duration
Histogram
s
The duration of user creation operations. [1]
[1]: Meter name: Microsoft.AspNetCore.Identity; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
aspnetcore.identity.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
failure
Identity operation failed.
success
Identity operation was successful.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Metric: aspnetcore.identity.user.update.duration
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.identity.user.update.duration
Histogram
s
The duration of user update operations. [1]
[1]: Meter name: Microsoft.AspNetCore.Identity; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
aspnetcore.identity.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
failure
Identity operation failed.
success
Identity operation was successful.
aspnetcore.identity.user.update_type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
Any update type that the instrumentation has no prior knowledge of.
access_failed
Identity user access failure recorded.
add_claims
Identity user claims added.
add_login
Identity user login added.
add_password
Identity user password added.
add_to_roles
Identity user added to roles.
change_email
Identity user email changed.
change_password
Identity user password changed.
change_phone_number
Identity user phone number changed.
confirm_email
Identity user email confirmed.
generate_new_two_factor_recovery_codes
Identity user new two-factor recovery codes generated.
password_rehash
Identity user password rehashed.
redeem_two_factor_recovery_code
Identity user two-factor recovery code redeemed.
remove_authentication_token
Identity user authentication token removed.
remove_claims
Identity user claims removed.
remove_from_roles
Identity user removed from roles.
remove_login
Identity user login removed.
remove_passkey
Identity user passkey removed.
remove_password
Identity user password removed.
replace_claim
Identity user claim replaced.
reset_access_failed_count
Identity user access failure count reset.
reset_authenticator_key
Identity user authenticator key reset.
reset_password
Identity user password reset.
security_stamp
Identity user security stamp updated.
set_authentication_token
Identity user authentication token set.
set_email
Identity user email set.
set_lockout_enabled
Identity user lockout enabled or disabled.
set_lockout_end_date
Identity user lockout end date set.
set_passkey
Identity user passkey set.
set_phone_number
Identity user phone number set.
set_two_factor_enabled
Identity user two-factor authentication enabled or disabled.
update
Identity user updated.
user_name
Identity user name updated.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Metric: aspnetcore.identity.user.delete.duration
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.identity.user.delete.duration
Histogram
s
The duration of user deletion operations. [1]
[1]: Meter name: Microsoft.AspNetCore.Identity; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
aspnetcore.identity.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
failure
Identity operation failed.
success
Identity operation was successful.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Conditionally Required if and only if an error has occurred.
aspnetcore.identity.password_check_result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
failure
Password check failed.
password_missing
Password check couldn’t proceed because the password was missing from the user.
success
Password check was successful.
success_rehash_needed
Password check was successful however the password was encoded using a deprecated algorithm and should be rehashed and updated.
user_missing
Password check couldn’t proceed because the user was missing.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Metric: aspnetcore.identity.user.generated_tokens
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.identity.user.generated_tokens
Counter
{count}
The total number of token generations. [1]
[1]: Meter name: Microsoft.AspNetCore.Identity; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
aspnetcore.identity.token_purpose has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
Any token purpose that the instrumentation has no prior knowledge of.
change_email
The token is for changing the user email address.
change_phone_number
The token is for changing a user phone number.
email_confirmation
The token is for confirming user email address.
reset_password
The token is for resetting a user password.
two_factor
The token is for changing user two factor settings.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Conditionally Required if and only if an error has occurred.
aspnetcore.identity.token_purpose has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
Any token purpose that the instrumentation has no prior knowledge of.
change_email
The token is for changing the user email address.
change_phone_number
The token is for changing a user phone number.
email_confirmation
The token is for confirming user email address.
reset_password
The token is for resetting a user password.
two_factor
The token is for changing user two factor settings.
aspnetcore.identity.token_verified has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
failure
Token verification failed.
success
Token verification was successful.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
The duration of authenticate attempts. The authenticate metrics is recorded by sign in methods such as PasswordSignInAsync and TwoFactorSignInAsync. [1]
[1]: Meter name: Microsoft.AspNetCore.Identity; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
aspnetcore.identity.sign_in.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
failure
Sign in failed.
locked_out
User is locked out.
not_allowed
User is not allowed to sign in.
requires_two_factor
User requires two factory authentication to sign in.
success
Sign in was successful.
aspnetcore.identity.sign_in.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
external
Sign in with a previously registered third-party login.
passkey
Sign in with passkey.
password
Sign in with password.
two_factor
Sign in with a two factor provider.
two_factor_authenticator
Sign in with two factor authenticator app.
two_factor_recovery_code
Sign in with two factory recovery code.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
The total number of check password attempts. Checks that the account is in a state that can log in and that the password is valid using the UserManager.CheckPasswordAsync method. [1]
[1]: Meter name: Microsoft.AspNetCore.Identity; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
aspnetcore.identity.sign_in.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
failure
Sign in failed.
locked_out
User is locked out.
not_allowed
User is not allowed to sign in.
requires_two_factor
User requires two factory authentication to sign in.
success
Sign in was successful.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Metric: aspnetcore.identity.sign_in.sign_ins
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.identity.sign_in.sign_ins
Counter
{sign_in}
The total number of calls to sign in user principals. [1]
[1]: Meter name: Microsoft.AspNetCore.Identity; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Metric: aspnetcore.identity.sign_in.sign_outs
Name
Instrument Type
Unit (UCUM)
Description
Stability
Entity Associations
aspnetcore.identity.sign_in.sign_outs
Counter
{sign_out}
The total number of calls to sign out user principals. [1]
[1]: Meter name: Microsoft.AspNetCore.Identity; Added in: ASP.NET Core 10.0
Conditionally Required if and only if an error has occurred.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Conditionally Required if and only if an error has occurred.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.
Conditionally Required if and only if an error has occurred.
error.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Value
Description
Stability
_OTHER
A fallback error value to be used when the instrumentation doesn’t define a custom value.