servers::http::prometheus

Function update_metric_name_matcher

Source
fn update_metric_name_matcher(expr: &mut Expr, metric_name: &str)
Expand description

Update the __name__ matchers in expression into special value Returns the updated expression.