You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`aspnetcore.authorization.policy`| string | The authorization policy. |`Basic`| Always |
419
-
|`error.type`| string | The error message. |`An error occurred in the authorization handler`|Always|
419
+
|`error.type`| string | The error message. |`An error occurred in the authorization handler`|Conditionally required if the request has ended with an error.|
420
420
421
421
.
422
422
@@ -438,9 +438,9 @@ The `Microsoft.AspNetCore.Authentication` metrics report information about [Auth
|`aspnetcore.authentication.result`| string | The authentication result. |`success`; `failure`| Always|
442
-
|`aspnetcore.authentication.scheme`| string | The authentication scheme. |`custom`| Always|
443
-
|`error.type`| string | The error message. |`An error occurred in the authorization handler`| If an authentication error or exception occurred.|
441
+
|`aspnetcore.authentication.result`| string | The authentication result. |`success`; `failure`; `none`; `_OTHER`|`Conditionally Required` if the request did not end with an error|
442
+
|`aspnetcore.authentication.scheme`| string | The name of the authentication scheme. |`Bearer`; `Cookies`|`Conditionally Required` if the request did not end with an error|
443
+
|`error.type`| string | The full name of the exception type. |`System.InvalidOperationException`; `Contoso.MyException`|`Conditionally Required` if the request has ended with an error |
444
444
445
445
.
446
446
@@ -466,7 +466,7 @@ The `Microsoft.AspNetCore.Authentication` metrics report information about [Auth
0 commit comments