MCPcopy
hub / github.com/prometheus/prometheus / DeletedIterator

Struct DeletedIterator

tsdb/querier.go:1271–1276  ·  view source on GitHub ↗

DeletedIterator wraps chunk Iterator and makes sure any deleted metrics are not returned.

Source from the content-addressed store, hash-verified

1269
1270// DeletedIterator wraps chunk Iterator and makes sure any deleted metrics are not returned.
1271type DeletedIterator struct {
1272 // Iter is an Iterator to be wrapped.
1273 Iter chunkenc.Iterator
1274 // Intervals are the deletion intervals.
1275 Intervals tombstones.Intervals
1276}
1277
1278func (it *DeletedIterator) At() (int64, float64) {
1279 return it.Iter.At()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected