risingwave_common_metrics::guarded_metrics

Type Alias LabelGuardedGauge

source
pub type LabelGuardedGauge<const N: usize> = LabelGuardedMetric<Gauge, N>;

Aliased Type§

struct LabelGuardedGauge<const N: usize> {
    inner: GenericGauge<AtomicF64>,
    _guard: Arc<LabelGuard<N>>,
}

Fields§

§inner: GenericGauge<AtomicF64>§_guard: Arc<LabelGuard<N>>

Implementations§

source§

impl<const N: usize> LabelGuardedGauge<N>

source

pub fn test_gauge() -> Self