Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
39
func
(s Series) Sort() {
40
sort.Sort(s)
41
}
42
43
// Len returns metric length.
44
func
(s Series) Len() int {
Callers
15
parse
Method · 0.95
TestSeries_Sort
Function · 0.95
New
Function · 0.80
NewHistogram
Function · 0.80
NewHistogramWithRangeBuckets
Function · 0.80
collectStaticAndIdentifyOIDs
Method · 0.80
identifyTagOIDs
Method · 0.80
identifyScalarOIDs
Method · 0.80
handleCrossTableTagsWithoutMetrics
Function · 0.80
discoverResourcesFromQuery
Function · 0.80
normalizeFilterValues
Function · 0.80
normalizeTagFilters
Function · 0.80
Calls
no outgoing calls
Tested by
4
TestSeries_Sort
Function · 0.76
TestPromTextParser_parseToSeries
Function · 0.64
TestSeries_FindByName
Function · 0.64
TestSeries_FindByNames
Function · 0.64