fn is_valid_label_name(name: &str) -> boolExpand description
Matches Prometheus’s label name grammar: [a-zA-Z_][a-zA-Z0-9_]*.
Unlike the metric-name grammar (name_valid, computed in MIR), this stays in Rust: it
applies to every key of the labels map, an unbounded per-row collection that doesn’t fit a
scalar Map expression.