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