Struct prometheus::local::LocalHistogramTimer [−][src]
pub struct LocalHistogramTimer { /* fields omitted */ }
Expand description
An unsync HistogramTimer
.
Implementations
Observe and record timer duration (in seconds).
It observes the floating-point number of seconds elapsed since the timer started, and it records that value to the attached histogram.
Observe, record and return timer duration (in seconds).
It observes and returns a floating-point number for seconds elapsed since the timer started, recording that value to the attached histogram.
Observe and return timer duration (in seconds).
It returns a floating-point number of seconds elapsed since the timer started, without recording to any histogram.