prometheus-net icon indicating copy to clipboard operation
prometheus-net copied to clipboard

Finer granularity for measuring operation duration

Open yesmarket opened this issue 1 year ago • 1 comments

Docs say "Timers can be used to report the duration of an operation (in seconds) to a Summary, Histogram, Gauge or Counter"

Is it possible to configure finer granularity on the time block e.g. measure duration in 100s of milliseconds...

yesmarket avatar Aug 24 '22 12:08 yesmarket

Fractional seconds are supported, 100 ms will simply be reported at 0.1. Is that what you are asking or did I misunderstand the question?

sandersaares avatar Sep 21 '22 14:09 sandersaares