Skip to main content

rebuild_labels

Function rebuild_labels 

Source
fn rebuild_labels(
    metric: &SeriesLabels,
    name: Option<Arc<str>>,
    keep: impl Fn(&str) -> bool,
) -> Result<SeriesLabels>
Expand description

One rebuild: removing labels one by one copies the label array each time.