Skip to main content

IntGaugeVecRelabelExt

Trait IntGaugeVecRelabelExt 

Source
pub trait IntGaugeVecRelabelExt {
    // Required method
    fn relabel_debug_1_with_aggregation(
        self,
        metric_level: MetricLevel,
        aggregation: GaugeAggregation,
    ) -> RelabeledAggregatedIntGaugeVec;
}
Expand description

Extension methods for relabeling guarded integer gauges with explicit aggregation semantics.

Required Methods§

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§