Skip to main content

LabelGuardedIntGaugeVec

Type Alias LabelGuardedIntGaugeVec 

Source
pub type LabelGuardedIntGaugeVec = LabelGuardedMetricVec<VecBuilderOfGauge<AtomicI64>>;

Aliased Type§

pub struct LabelGuardedIntGaugeVec {
    inner: MetricVec<impl MetricVecBuilder<M = GenericGauge<AtomicI64>>>,
    info: Arc<Mutex<RawMutex, LabelGuardedMetricsInfo>>,
    labels: Box<[&'static str]>,
}

Fields§

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

Implementations§

Trait Implementations§

Source§

impl IntGaugeVecRelabelExt for LabelGuardedIntGaugeVec

Source§

fn relabel_debug_1_with_aggregation( self, metric_level: MetricLevel, aggregation: GaugeAggregation, ) -> RelabeledAggregatedIntGaugeVec

Relabels the first label according to the configured metric level and aggregates live contributions whenever that effective label value is empty.