risingwave_common_metrics::guarded_metrics

Type Alias LabelGuardedHistogram

source
pub type LabelGuardedHistogram<const N: usize> = LabelGuardedMetric<Histogram, N>;

Aliased Type§

struct LabelGuardedHistogram<const N: usize> {
    inner: Histogram,
    _guard: Arc<LabelGuard<N>>,
}

Fields§

§inner: Histogram§_guard: Arc<LabelGuard<N>>

Implementations§

source§

impl<const N: usize> LabelGuardedHistogram<N>

source

pub fn test_histogram() -> Self