parse_metric_name

Function parse_metric_name 

Source
fn parse_metric_name(arg: &str) -> Option<String>
Expand description

Extract the metric name from the first arg of a counter!/gauge!/histogram!. Accepts "literal" or <TypeName>::<Variant>.