better metrictype handles regexes better.
removed commented-out code and logging line, metrictype.