kubernetes/vendor/github.com/prometheus/client_golang/prometheus/testutil/promlint/validations/units.go

var units

var unitPrefixes

var unitAbbreviations

// metricUnits attempts to detect known unit types used as part of a metric name,
// e.g. "foo_bytes_total" or "bar_baz_milligrams".
func metricUnits(m string) (unit, base string, ok bool) {}