dotnet / dotnet/docs

Histogram data not showing when running dotnet-counters monitor

Open
#30,255 0 comments 3 reactions 0 assignees View on GitHub
dotnet-fundamentals/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

Running the example: https://docs.microsoft.com/en-us/dotnet/core/diagnostics/metrics-instrumentation#example-of-different-instrument-types

```
> dotnet-counters ps
2992 dotnet C:\Program Files\dotnet\dotnet.exe
20508 metric-instr E:\temp\metric-instr\bin\Debug\netcoreapp3.1\metric-instr.exe
> dotnet-counters monitor -p 20508 HatCo.HatStore
Press p to pause, r to resume, q to quit.
Status: Running

[HatCo.HatStore]
coats-sold (Count / 1 sec) 30
hats-sold (Count / 1 sec) 40
orders-pending 3
```

This part is missing:

```
order-processing-time
Percentile=50 125
Percentile=95 146
Percentile=99 146
```

Am I missing something?
Running .NET 6.0.7
dotnet-counters --version
6.0.328102+ab657cc109f93e48d52f6b12cd7f136bb2d0b311

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 61024acd-c2e8-291a-3007-7f09a1857690
* Version Independent ID: 02ec1bf2-d0fe-dac5-b2c1-45d607430b06
* Content: [Creating Metrics](https://docs.microsoft.com/en-us/dotnet/core/diagnostics/metrics-instrumentation#example-of-different-instrument-types)
* Content Source: [docs/core/diagnostics/metrics-instrumentation.md](https://github.com/dotnet/docs/blob/main/docs/core/diagnostics/metrics-instrumentation.md)
* Product: **dotnet-fundamentals**
* GitHub Login: @tommcdon
* Microsoft Alias: **tommcdon**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.