CustomMetricTypeFromString extension

on