MCPcopy
hub / github.com/prometheus/prometheus / Len

Method Len

storage/series.go:108–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106type Samples interface {
107 Get(i int) chunks.Sample
108 Len() int
109}
110
111// NewListSeriesIterator returns listSeriesIterator that allows to iterate over provided samples.

Callers 15

BytesWithLabelsMethod · 0.65
BytesWithoutLabelsMethod · 0.65
TestLabels_StringFunction · 0.65
TestSizeOfLabelsFunction · 0.65
TestByteSizeFunction · 0.65
BytesWithLabelsMethod · 0.65
BytesWithoutLabelsMethod · 0.65
TestUniqueErrorNodesFunction · 0.65
TestMultiDocParseFunction · 0.65
testHistogramKahanAddFunction · 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_StringFunction · 0.52
TestSizeOfLabelsFunction · 0.52
TestByteSizeFunction · 0.52
TestUniqueErrorNodesFunction · 0.52
TestMultiDocParseFunction · 0.52
testHistogramKahanAddFunction · 0.52
TestApplySearchHintsFunction · 0.52
TestMergeQuerierSearchFunction · 0.52