MCPcopy
hub / github.com/prometheus/prometheus / Get

Method Get

storage/series.go:107–107  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

105// Samples interface allows to work on arrays of types that are compatible with chunks.Sample.
106type Samples interface {
107 Get(i int) chunks.Sample
108 Len() int
109}
110

Callers 15

mainFunction · 0.65
RunMethod · 0.65
differentMetricMethod · 0.65
processNHCBMethod · 0.65
FormatOpenMetricsFloatFunction · 0.65
MatchesMethod · 0.65
GetMethod · 0.65
TestLabels_GetFunction · 0.65
BenchmarkLabels_GetFunction · 0.65

Implementers 3

Encbuftsdb/encoding/encoding.go
Decbuftsdb/encoding/encoding.go
Labelsmodel/labels/labels_dedupelabels.go

Calls

no outgoing calls

Tested by 15

TestLabels_GetFunction · 0.52
BenchmarkLabels_GetFunction · 0.52
findSamplesForMetricFunction · 0.52
TestNewHTTPBearerTokenFunction · 0.52
TestNewHTTPBasicAuthFunction · 0.52
TestNewHTTPCACertFunction · 0.52
TestNewHTTPClientCertFunction · 0.52