dotnet/diagnostics

dotnet-counters long value rendered format

WeihanLi opened this issue · 5 comments

The cms.sdk.offset value is a long number likes the unix milliseconds timestamp

The metrics value I recorded with the OpenTelemetry console exporter is expected

image

while the dotnet-counters tool seemed to change the value format when rendered like follows, is there some config or is it a bug?

image

It caused we could not tell whether it changed when there's small changes

Found the format here

private static string FormatValue(double value)

Is it possible to provide a config to show the raw value?

cc @noahfalk who was planning on making some improvements to dotnet-counters output