metrics_util/
handles.rs

1
2
3
4
5
6
7
8
use crate::AtomicBucket;
use metrics::HistogramFn;

impl HistogramFn for AtomicBucket<f64> {
    fn record(&self, value: f64) {
        self.push(value);
    }
}