risingwave_common_metrics::guarded_metrics

Type Alias LabelGuardedGaugeVec

source
pub type LabelGuardedGaugeVec<const N: usize> = LabelGuardedMetricVec<VecBuilderOfGauge<AtomicF64>, N>;

Aliased Type§

struct LabelGuardedGaugeVec<const N: usize> {
    inner: MetricVec<impl MetricVecBuilder<M = GenericGauge<AtomicF64>>>,
    info: Arc<Mutex<RawMutex, LabelGuardedMetricsInfo<N>>>,
    labels: [&'static str; N],
}

Fields§

§inner: MetricVec<impl MetricVecBuilder<M = GenericGauge<AtomicF64>>>§info: Arc<Mutex<RawMutex, LabelGuardedMetricsInfo<N>>>§labels: [&'static str; N]

Implementations§

source§

impl<const N: usize> LabelGuardedGaugeVec<N>

source

pub fn test_gauge_vec() -> Self