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
Copy file name to clipboardExpand all lines: aspnetcore/log-mon/metrics/metrics.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -267,17 +267,17 @@ The proceeding test:
267
267
268
268
## ASP.NET Core Identity metrics
269
269
270
-
ASP.NET Core Identity observability has been improved in .NET 10 with metrics. These metrics help you monitor user management activities and authentication processes.
270
+
ASP.NET Core Identity observability help you monitor user management activities and authentication processes.
271
271
272
-
The metrics are in the `Microsoft.AspNetCore.Identity` meter and include:
272
+
The metrics are in the `Microsoft.AspNetCore.Identity` meter and are described in the following sections.
273
273
274
274
### User management metrics
275
275
276
-
*`aspnetcore.identity.user.create.duration`- Measures the duration of user creation operations
276
+
*`aspnetcore.identity.user.create.duration`measures the duration of user creation operations.
277
277
*`aspnetcore.identity.user.update.duration` - Measures the duration of user update operations
278
278
*`aspnetcore.identity.user.delete.duration` - Measures the duration of user deletion operations
@@ -291,14 +291,14 @@ The metrics are in the `Microsoft.AspNetCore.Identity` meter and include:
291
291
292
292
These metrics can be used to:
293
293
294
-
* Monitor user registration and management
295
-
* Track authentication patterns and potential security issues
296
-
* Measure performance of Identity operations
297
-
* Observe two-factor authentication usage
294
+
* Monitor user registration and management.
295
+
* Track authentication patterns and potential security issues.
296
+
* Measure performance of Identity operations.
297
+
* Observe two-factor authentication usage.
298
298
299
299
### Viewing Identity metrics
300
300
301
-
You can view these metrics using `dotnet-counters` to monitor them in real-time, or export them to Prometheus and visualize them in Grafana using the techniques described earlier in this article.
301
+
You can view these metrics using `dotnet-counters` to monitor them in real-time or export them to Prometheus and visualize them in Grafana using the techniques described earlier in this article.
302
302
303
303
For example, to monitor all Identity metrics with `dotnet-counters`:
Copy file name to clipboardExpand all lines: aspnetcore/security/authentication/identity.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,15 +204,17 @@ The template-generated app doesn't use [authorization](xref:security/authorizati
204
204
For more information on `IdentityOptions`, see <xref:Microsoft.AspNetCore.Identity.IdentityOptions> and [Application Startup](xref:fundamentals/startup).
205
205
206
206
:::moniker-end
207
+
207
208
:::moniker range=">= aspnetcore-10.0"
208
209
209
210
## ASP.NET Core Identity metrics
210
211
211
-
ASP.NET Core Identity metrics provide monitoring capabilities for user management and authentication processes. These metrics help you detect unusual sign-in patterns that might indicate security threats, track the performance of identity operations, and understand how users interact with authentication features such as two-factor authentication. This observability is particularly valuable for applications with strict security requirements or those experiencing high authentication traffic. The ASP.NET Core Identity metrics were introduced in .NET 10.
212
+
ASP.NET Core Identity metrics provide monitoring capabilities for user management and authentication processes. These metrics help you detect unusual sign-in patterns that might indicate security threats, track the performance of identity operations, and understand how users interact with authentication features, such as two-factor authentication. This observability is particularly valuable for apps with strict security requirements or those experiencing high authentication traffic.
212
213
213
214
For complete details on available metrics and how to use them, see <xref:log-mon/metrics/metrics#aspnet-core-identity-metrics>.
0 commit comments