(i, j int)
| 168 | |
| 169 | func (s byLabel) Len() int { return len(s) } |
| 170 | func (s byLabel) Less(i, j int) bool { return strings.Compare(s[i].Name, s[j].Name) < 0 } |
| 171 | func (s byLabel) Swap(i, j int) { s[i], s[j] = s[j], s[i] } |
| 172 | |
| 173 | // MetricMetadataMetricTypeToMetricType converts a metric type from our internal client |