Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
106
type
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
BytesWithLabels
Method · 0.65
BytesWithoutLabels
Method · 0.65
TestLabels_String
Function · 0.65
TestSizeOfLabels
Function · 0.65
TestByteSize
Function · 0.65
BytesWithLabels
Method · 0.65
BytesWithoutLabels
Method · 0.65
TestUniqueErrorNodes
Function · 0.65
TestMultiDocParse
Function · 0.65
testHistogramKahanAdd
Function · 0.65
TestConvertNHCBToClassicHistogram
Function · 0.65
TestChunkSeriesSetToSeriesSet
Function · 0.65
Implementers
3
Encbuf
tsdb/encoding/encoding.go
Decbuf
tsdb/encoding/encoding.go
Labels
model/labels/labels_dedupelabels.go
Calls
no outgoing calls
Tested by
15
TestLabels_String
Function · 0.52
TestSizeOfLabels
Function · 0.52
TestByteSize
Function · 0.52
TestUniqueErrorNodes
Function · 0.52
TestMultiDocParse
Function · 0.52
testHistogramKahanAdd
Function · 0.52
TestConvertNHCBToClassicHistogram
Function · 0.52
TestChunkSeriesSetToSeriesSet
Function · 0.52
testHistogramsSeriesToChunks
Function · 0.52
TestApplySearchHints
Function · 0.52
TestNewSearchResultSetFromSliceAndError
Function · 0.52
TestMergeQuerierSearch
Function · 0.52