diagnostics
diagnostics copied to clipboard
dotnet-counters should show total and rate for histograms
In our shift to use OTel conventions for metrics, it adopts a minimalist style. If it is possible to compute a metric from data we are already collecting then we didn't add another instrument. I think the most prevalent place that occured is using duration histograms to also serve as measurements of total count and rate. However dotnet-counters default behavior only shows percentiles, not count or rate which means the data isn't easily viewable there. For other dashboards that use explicit queries this isn't a problem because users can always author a query that computes the metric they want to see.
We should update dotnet-counters so that it shows count and rate by default for histograms.