mirror of
https://github.com/prometheus/prometheus
synced 2025-01-11 08:59:37 +00:00
Update storage/memoized_iterator.go
Signed-off-by: Marco Pracucci <marco@pracucci.com> Co-authored-by: Julien Pivotto <roidelapluie@gmail.com>
This commit is contained in:
parent
b92c03023d
commit
6f050f66c7
@ -19,7 +19,7 @@ import (
|
|||||||
"github.com/prometheus/prometheus/tsdb/chunkenc"
|
"github.com/prometheus/prometheus/tsdb/chunkenc"
|
||||||
)
|
)
|
||||||
|
|
||||||
// MemoizedSeriesIterator wraps an iterator with a buffer to look-back the previous element.
|
// MemoizedSeriesIterator wraps an iterator with a buffer to look back the previous element.
|
||||||
type MemoizedSeriesIterator struct {
|
type MemoizedSeriesIterator struct {
|
||||||
it chunkenc.Iterator
|
it chunkenc.Iterator
|
||||||
delta int64
|
delta int64
|
||||||
|
Loading…
Reference in New Issue
Block a user