risingwave_common_metrics

Trait MetricVecRelabelExt

source
pub trait MetricVecRelabelExt
where Self: Sized,
{ // Required methods fn relabel(self, _: MetricLevel, _: MetricLevel) -> RelabeledMetricVec<Self>; fn relabel_n( self, _: MetricLevel, _: MetricLevel, _: usize, ) -> RelabeledMetricVec<Self>; fn relabel_debug_1(self, _: MetricLevel) -> RelabeledMetricVec<Self>; }

Required Methods§

source

fn relabel(self, _: MetricLevel, _: MetricLevel) -> RelabeledMetricVec<Self>

source

fn relabel_n( self, _: MetricLevel, _: MetricLevel, _: usize, ) -> RelabeledMetricVec<Self>

source

fn relabel_debug_1(self, _: MetricLevel) -> RelabeledMetricVec<Self>

Equivalent to RelabeledMetricVec::with_metric_level_relabel_n with metric_level set to MetricLevel::Debug and relabel_num set to 1.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<M> MetricVecRelabelExt for M
where M: Sized,