Skip to content

Commit 5ecc303

Browse files
authored
Merge pull request #883 from DuendeSoftware/maartenba-patch-1
Refactor metrics section in otel.md for clarity
2 parents b76a077 + 4ede495 commit 5ecc303

File tree

1 file changed

+15
-13
lines changed
  • src/content/docs/identityserver/diagnostics

1 file changed

+15
-13
lines changed

src/content/docs/identityserver/diagnostics/otel.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -366,18 +366,20 @@ It's also possible to track login attempts, sign-ins, sign-outs, and two-factor
366366

367367
The `Microsoft.AspNetCore.Identity` meter provides the following metrics:
368368

369-
* `aspnetcore.identity.user.create.duration`
370-
* `aspnetcore.identity.user.update.duration`
371-
* `aspnetcore.identity.user.delete.duration`
372-
* `aspnetcore.identity.user.check_password_attempts`
373-
* `aspnetcore.identity.user.generated_tokens`
374-
* `aspnetcore.identity.user.verify_token_attempts`
375-
* `aspnetcore.identity.sign_in.authenticate.duration`
376-
* `aspnetcore.identity.sign_in.check_password_attempts`
377-
* `aspnetcore.identity.sign_in.sign_ins`
378-
* `aspnetcore.identity.sign_in.sign_outs`
379-
* `aspnetcore.identity.sign_in.two_factor_clients_remembered`
380-
* `aspnetcore.identity.sign_in.two_factor_clients_forgotten`
369+
* User management metrics
370+
* Duration of user creation operations (`aspnetcore.identity.user.create.duration`)
371+
* Duration of user update operations (`aspnetcore.identity.user.update.duration`)
372+
* Duration of user deletion operations (`aspnetcore.identity.user.delete.duration`)
373+
* Number of password verification attempts (`aspnetcore.identity.user.check_password_attempts`)
374+
* Number of tokens generated for users, such as password reset tokens (`aspnetcore.identity.user.generated_tokens`)
375+
* Number of token verification attempts (`aspnetcore.identity.user.verify_token_attempts`)
376+
* Authentication metrics
377+
* Duration of authentication operations (`aspnetcore.identity.sign_in.authenticate.duration`)
378+
* Number of password check attempts at sign-in (`aspnetcore.identity.sign_in.check_password_attempts`)
379+
* Number of successful sign-ins (`aspnetcore.identity.sign_in.sign_ins`)
380+
* Number of sign-outs (`aspnetcore.identity.sign_in.sign_outs`)
381+
* Number of remembered two-factor authentication (2FA) clients (`aspnetcore.identity.sign_in.two_factor_clients_remembered`)
382+
* Number of forgotten two-factor authentication (2FA) clients (`aspnetcore.identity.sign_in.two_factor_clients_forgotten`)
381383

382384
## Traces
383385

@@ -429,4 +431,4 @@ You can select which information you are interested in by selectively listening
429431

430432
* *`IdentityServerConstants.Tracing.Validation`*
431433

432-
More detailed tracing related to validation
434+
More detailed tracing related to validation

0 commit comments

Comments
 (0)