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