servers::http::prometheus

Function take_metric_name

Source
fn take_metric_name(selector: &mut VectorSelector) -> Option<String>
Expand description

Take metric name from the [VectorSelector]. It takes the name in the selector or removes the name matcher.