risingwave_common_metrics::guarded_metrics

Type Alias LabelGuardedIntCounterVec

source
pub type LabelGuardedIntCounterVec<const N: usize> = LabelGuardedMetricVec<VecBuilderOfCounter<AtomicU64>, N>;

Aliased Type§

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

Fields§

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

Implementations§