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.authentication.challenges`| Counter |`{request}`| The total number of times a scheme is challenged. [1]|||
378
+
|`aspnetcore.authentication.challenges`| Counter |`{challenge}`| The total number of times a scheme is challenged. [1]|||
379
379
380
380
**[1]:** Meter name: `Microsoft.AspNetCore.Authentication`; Added in: ASP.NET Core 10.0
381
381
@@ -408,7 +408,7 @@ Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0
408
408
409
409
| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
|`aspnetcore.authentication.forbids`| Counter |`{request}`| The total number of times an authenticated user attempts to access a resource they are not permitted to access. [1]|||
411
+
|`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]|||
412
412
413
413
**[1]:** Meter name: `Microsoft.AspNetCore.Authentication`; Added in: ASP.NET Core 10.0
414
414
@@ -441,7 +441,7 @@ Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0
441
441
442
442
| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
|`aspnetcore.authentication.sign_ins`| Counter |`{request}`| The total number of times a principal is signed in with a scheme. [1]|||
444
+
|`aspnetcore.authentication.sign_ins`| Counter |`{sign_in}`| The total number of times a principal is signed in with a scheme. [1]|||
445
445
446
446
**[1]:** Meter name: `Microsoft.AspNetCore.Authentication`; Added in: ASP.NET Core 10.0
447
447
@@ -474,7 +474,7 @@ Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0
474
474
475
475
| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
|`aspnetcore.authentication.sign_outs`| Counter |`{request}`| The total number of times a principal is signed out with a scheme. [1]|||
477
+
|`aspnetcore.authentication.sign_outs`| Counter |`{sign_out}`| The total number of times a principal is signed out with a scheme. [1]|||
478
478
479
479
**[1]:** Meter name: `Microsoft.AspNetCore.Authentication`; Added in: ASP.NET Core 10.0
480
480
@@ -509,13 +509,13 @@ Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0
509
509
510
510
| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
|`aspnetcore.authorization.attempts`| Counter |`{request}`| The total number of requests for which authorization was attempted. [1]|||
512
+
|`aspnetcore.authorization.attempts`| Counter |`{attempt}`| The total number of authorization attempts. [1]|||
513
513
514
514
**[1]:** Meter name: `Microsoft.AspNetCore.Authorization`; Added in: ASP.NET Core 10.0
|[`user.is_authenticated`](/docs/registry/attributes/aspnetcore.md)| boolean | A value that indicates whether the user is authenticated. |`true`|`Required`||
518
+
|[`aspnetcore.user.is_authenticated`](/docs/registry/attributes/aspnetcore.md)| boolean | A value that indicates whether the user is authenticated. |`true`|`Required`||
519
519
|[`aspnetcore.authorization.policy`](/docs/registry/attributes/aspnetcore.md)| string | The name of the authorization policy. |`RequireAdminRole`|`Conditionally Required` if a policy is specified. ||
520
520
|[`aspnetcore.authorization.result`](/docs/registry/attributes/aspnetcore.md)| string | The result of calling the authorization service. |`success`; `failure`|`Conditionally Required` if no exception was thrown. ||
521
521
|[`error.type`](/docs/registry/attributes/error.md)| string | The full name of exception type. |`System.OperationCanceledException`|`Conditionally Required` if and only if an error has occurred. ||
Copy file name to clipboardExpand all lines: docs/registry/attributes/aspnetcore.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ ASP.NET Core attributes
20
20
| <aid="aspnetcore-request-is-unhandled"href="#aspnetcore-request-is-unhandled">`aspnetcore.request.is_unhandled`</a> | boolean | Flag indicating if request was handled by the application pipeline. |`true`||
21
21
| <aid="aspnetcore-routing-is-fallback"href="#aspnetcore-routing-is-fallback">`aspnetcore.routing.is_fallback`</a> | boolean | A value that indicates whether the matched route is a fallback route. |`true`||
22
22
| <aid="aspnetcore-routing-match-status"href="#aspnetcore-routing-match-status">`aspnetcore.routing.match_status`</a> | string | Match result - success or failure |`success`; `failure`||
23
-
| <aid="user-is-authenticated"href="#user-is-authenticated">`user.is_authenticated`</a> | boolean | A value that indicates whether the user is authenticated. |`true`||
23
+
| <aid="aspnetcore-user-is-authenticated"href="#aspnetcore-user-is-authenticated">`aspnetcore.user.is_authenticated`</a> | boolean | A value that indicates whether the user is authenticated. |`true`||
0 commit comments