Skip to content

Commit 580f2e5

Browse files
Fix dotnet counters monitor invocation (#5159)
1 parent 603c7b1 commit 580f2e5

File tree

1 file changed

+1
-1
lines changed
  • entity-framework/core/logging-events-diagnostics

1 file changed

+1
-1
lines changed

entity-framework/core/logging-events-diagnostics/metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Inside your .NET application, the process ID is available as `Process.GetCurrent
118118
Finally, launch `dotnet-counters` as follows:
119119

120120
```console
121-
dotnet counters monitor Microsoft.EntityFrameworkCore -p <PID>
121+
dotnet counters monitor --counters Microsoft.EntityFrameworkCore -p <PID>
122122
```
123123

124124
`dotnet-counters` will now attach to your running process and start reporting continuous counter data:

0 commit comments

Comments
 (0)