Struct prometheus::local::AFLocalHistogram [−][src]
pub struct AFLocalHistogram<T: 'static + MayFlush, D: HistogramDelegator<T>> { /* fields omitted */ }
Expand description
Auto flush-able local counter
Implementations
Construct a new AFLocalHistogram from delegator
Observe execution time of a closure, in second.
Observe execution time of a closure, in second.
Return accumulated sum of local samples.
Return count of local samples.