From 7743e37b184dcd2d528f5b8fb8b979285b92b884 Mon Sep 17 00:00:00 2001 From: Radoslav Gatev Date: Mon, 17 Nov 2025 21:35:39 +0200 Subject: [PATCH] add the counters argument --- entity-framework/core/logging-events-diagnostics/metrics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity-framework/core/logging-events-diagnostics/metrics.md b/entity-framework/core/logging-events-diagnostics/metrics.md index 8ff310efbf..4434dfede3 100644 --- a/entity-framework/core/logging-events-diagnostics/metrics.md +++ b/entity-framework/core/logging-events-diagnostics/metrics.md @@ -118,7 +118,7 @@ Inside your .NET application, the process ID is available as `Process.GetCurrent Finally, launch `dotnet-counters` as follows: ```console -dotnet counters monitor Microsoft.EntityFrameworkCore -p +dotnet counters monitor --counters Microsoft.EntityFrameworkCore -p ``` `dotnet-counters` will now attach to your running process and start reporting continuous counter data: