fn take_metric_name(selector: &mut VectorSelector) -> Option<String>
Take metric name from the [VectorSelector]. It takes the name in the selector or removes the name matcher.