mz_ore::metrics

Type Alias ComputedGauge

Source
pub type ComputedGauge = ComputedGenericGauge<AtomicF64>;
Available on crate feature metrics only.
Expand description

A ComputedGenericGauge for 64-bit floating point numbers.

Aliased Type§

struct ComputedGauge {
    gauge: GenericGauge<AtomicF64>,
    f: Arc<dyn Fn() -> f64 + Sync + Send>,
}

Fields§

§gauge: GenericGauge<AtomicF64>§f: Arc<dyn Fn() -> f64 + Sync + Send>