make sure the metric type is determined by the end of the name.