metrics: use regexp.MatchString
for metric name check
#6330
Loading
regexp.MatchString
for metric name check
#6330