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: