pub type RelabeledGuardedIntGaugeVec<const N: usize> = RelabeledMetricVec<LabelGuardedIntGaugeVec<N>>;
Aliased Type§
struct RelabeledGuardedIntGaugeVec<const N: usize> {
relabel_threshold: MetricLevel,
metric_level: MetricLevel,
metric: LabelGuardedMetricVec<impl MetricVecBuilder<M = GenericGauge<AtomicI64>>, N>,
relabel_num: usize,
}
Fields§
§relabel_threshold: MetricLevel
§metric_level: MetricLevel
§metric: LabelGuardedMetricVec<impl MetricVecBuilder<M = GenericGauge<AtomicI64>>, N>
§relabel_num: usize
The first relabel_num
labels will be relabeled to empty string
For example, if relabel_num
is 1, and the input labels are ["actor_id", "fragment_id", "table_id"]
, when threshold is reached, the label values will be
["", "<original_fragment_id>", "<original_table_id>"]
.