MCPcopy Create free account
hub / github.com/netdata/netdata / Sort

Method Sort

src/go/pkg/prometheus/metric_series.go:39–41  ·  view source on GitHub ↗

Sort sorts data.

()

Source from the content-addressed store, hash-verified

37
38// Sort sorts data.
39func (s Series) Sort() {
40 sort.Sort(s)
41}
42
43// Len returns metric length.
44func (s Series) Len() int {

Callers 15

parseMethod · 0.95
TestSeries_SortFunction · 0.95
NewFunction · 0.80
NewHistogramFunction · 0.80
identifyTagOIDsMethod · 0.80
identifyScalarOIDsMethod · 0.80
normalizeFilterValuesFunction · 0.80
normalizeTagFiltersFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestSeries_SortFunction · 0.76
TestSeries_FindByNameFunction · 0.64
TestSeries_FindByNamesFunction · 0.64