Skip to content

Commit 76e701f

Browse files
authored
WN: v10 RC1: Identity metrics (#36076)
* WN: v10 RC1: Identity metrics * lowercase include filename * Fixed link * Minor edits
1 parent 6077612 commit 76e701f

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

aspnetcore/release-notes/aspnetcore-10.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ The following image shows an example of the Authenticated request duration metri
9090

9191
For more information, see <xref:log-mon/metrics/built-in#microsoftaspnetcoreauthorization>.
9292

93+
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/identity-metrics.md)]
94+
9395
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/avoid-cookie-login-redirects.md)]
9496

9597
## Miscellaneous
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
### ASP.NET Core Identity metrics
2+
3+
[ASP.NET Core Identity](xref:security/authentication/identity) observability has been improved in .NET 10 with metrics. Metrics are counters, histograms, and gauges that provide time-series measurements of system or application behavior.
4+
5+
For example, use the new ASP.NET Core Identity metrics to observe:
6+
7+
* **User management**: New user creations, password changes, and role assignments.
8+
* **Login/session handling**: Login attempts, sign ins, sign outs, and users using two factor authentication.
9+
10+
The new metrics are in the `Microsoft.AspNetCore.Identity` meter:
11+
12+
* `aspnetcore.identity.user.create.duration`
13+
* `aspnetcore.identity.user.update.duration`
14+
* `aspnetcore.identity.user.delete.duration`
15+
* `aspnetcore.identity.user.check_password_attempts`
16+
* `aspnetcore.identity.user.generated_tokens`
17+
* `aspnetcore.identity.user.verify_token_attempts`
18+
* `aspnetcore.identity.sign_in.authenticate.duration`
19+
* `aspnetcore.identity.sign_in.check_password_attempts`
20+
* `aspnetcore.identity.sign_in.sign_ins`
21+
* `aspnetcore.identity.sign_in.sign_outs`
22+
* `aspnetcore.identity.sign_in.two_factor_clients_remembered`
23+
* `aspnetcore.identity.sign_in.two_factor_clients_forgotten`
24+
25+
For more information about using metrics in ASP.NET Core, see <xref:log-mon/metrics/metrics>.

0 commit comments

Comments
 (0)