(metrics map[string]any)
| 423 | } |
| 424 | |
| 425 | func sortedMetricNames(metrics map[string]any) []string { |
| 426 | names := make([]string, 0, len(metrics)) |
| 427 | for name := range metrics { |
| 428 | names = append(names, name) |
| 429 | } |
| 430 | sort.Strings(names) |
| 431 | return names |
| 432 | } |
| 433 | |
| 434 | func sortedFloatMetricNames(metrics map[string]float64) []string { |
| 435 | names := make([]string, 0, len(metrics)) |
no outgoing calls
no test coverage detected