Skip to content

Commit dce1c97

Browse files
Fix dotnet-counters cli options to supply counter provider
dotnet-counters released a breaking change in v9.0.621003. "Previously dotnet-counters allowed specifying a list of space separated counters prior to the -- token in collect/monitor mode. Counters must now be supplied explicitly in the --counters option as a list of comma-separated values." - https://github.com/dotnet/diagnostics/releases/tag/v9.0.621003
1 parent 7833ce9 commit dce1c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/grpc/diagnostics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ gRPC client metrics are reported on `Grpc.Net.Client` event source.
416416
[dotnet-counters](/dotnet/core/diagnostics/dotnet-counters) is a performance monitoring tool for ad-hoc health monitoring and first-level performance investigation. Monitor a .NET app with either `Grpc.AspNetCore.Server` or `Grpc.Net.Client` as the provider name.
417417

418418
```console
419-
> dotnet-counters monitor --process-id 1902 Grpc.AspNetCore.Server
419+
> dotnet-counters monitor --process-id 1902 --counters Grpc.AspNetCore.Server
420420

421421
Press p to pause, r to resume, q to quit.
422422
Status: Running

0 commit comments

Comments
 (0)