MCPcopy
hub / github.com/netdata/netdata / mapKeysSorted

Function mapKeysSorted

src/go/plugin/framework/chartengine/compiler.go:491–498  ·  view source on GitHub ↗
(set map[string]struct{})

Source from the content-addressed store, hash-verified

489}
490
491func mapKeysSorted(set map[string]struct{}) []string {
492 out := make([]string, 0, len(set))
493 for key := range set {
494 out = append(out, key)
495 }
496 sort.Strings(out)
497 return out
498}
499
500// selectorMatcher adapts prometheus selector API to chartengine selector binding.
501type selectorMatcher struct {

Callers 4

compileChartMethod · 0.70
metricKindsFromNamesFunction · 0.70
metricNamesMethod · 0.70
normalizeUniqueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…