metricByType

open fun metricByType(type: String): Metric?

Finds the first metric matching given type.