MCPcopy
hub / github.com/prometheus/prometheus / Buffer

Method Buffer

storage/buffer.go:80–82  ·  view source on GitHub ↗

Buffer returns an iterator over the buffered data. Invalidates previously returned iterators.

()

Source from the content-addressed store, hash-verified

78// Buffer returns an iterator over the buffered data. Invalidates previously
79// returned iterators.
80func (b *BufferedSeriesIterator) Buffer() *SampleRingIterator {
81 return b.buf.iterator()
82}
83
84// Seek advances the iterator to the element at time t or greater.
85func (b *BufferedSeriesIterator) Seek(t int64) chunkenc.ValueType {

Calls 1

iteratorMethod · 0.45