risingwave_common_metrics::guarded_metrics

Type Alias LabelGuardedIntGauge

source
pub type LabelGuardedIntGauge<const N: usize> = LabelGuardedMetric<IntGauge, N>;

Aliased Type§

struct LabelGuardedIntGauge<const N: usize> {
    inner: GenericGauge<AtomicI64>,
    _guard: Arc<LabelGuard<N>>,
}

Fields§

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

Implementations§

source§

impl<const N: usize> LabelGuardedIntGauge<N>

source

pub fn test_int_gauge() -> Self