Skip to content

Commit 5e87350

Browse files
authored
Merge pull request #35647 from dylanrichards/patch-2
Update dotnet-counters cli options to supply counter provider
2 parents fff7fc1 + acc66b6 commit 5e87350

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

aspnetcore/grpc/diagnostics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: jamesnk
44
description: Learn how to gather diagnostics from your gRPC app on .NET.
55
monikerRange: '>= aspnetcore-3.0'
66
ms.author: wpickett
7-
ms.date: 10/01/2021
7+
ms.date: 06/20/2025
88
uid: grpc/diagnostics
99
---
1010
# Logging and diagnostics in gRPC on .NET
@@ -192,7 +192,7 @@ gRPC client metrics are reported on `Grpc.Net.Client` event source.
192192
[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.
193193

194194
```console
195-
> dotnet-counters monitor --process-id 1902 Grpc.AspNetCore.Server
195+
> dotnet-counters monitor --process-id 1902 --counters Grpc.AspNetCore.Server
196196

197197
Press p to pause, r to resume, q to quit.
198198
Status: Running
@@ -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

aspnetcore/signalr/diagnostics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to gather diagnostics from your ASP.NET Core SignalR app.
55
monikerRange: '>= aspnetcore-2.1'
66
ms.author: wpickett
77
ms.custom: devx-track-csharp, signalr, linux-related-content
8-
ms.date: 03/30/2025
8+
ms.date: 06/20/2025
99
uid: signalr/diagnostics
1010
---
1111
# Logging and diagnostics in ASP.NET Core SignalR
@@ -277,7 +277,7 @@ SignalR server metrics are reported on the <xref:Microsoft.AspNetCore.Http.Conne
277277
[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 `Microsoft.AspNetCore.Http.Connections` as the provider name. For example:
278278

279279
```console
280-
> dotnet-counters monitor --process-id 37016 Microsoft.AspNetCore.Http.Connections
280+
> dotnet-counters monitor --process-id 37016 --counters Microsoft.AspNetCore.Http.Connections
281281

282282
Press p to pause, r to resume, q to quit.
283283
Status: Running

0 commit comments

Comments
 (0)