prometheus/util
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now.
This is part of https://github.com/prometheus/prometheus/pull/5882 that can be done to simplify things.
All todos I added will be fixed in follow up PRs.

* querier.Querier, querier.Appender, querier.SeriesSet, and querier.Series interfaces merged
with storage interface.go. All imports that.
* querier.SeriesIterator replaced by chunkenc.Iterator
* Added chunkenc.Iterator.Seek method and tests for xor implementation (?)
* Since we properly handle SelectParams for Select methods I adjusted min max
based on that. This should help in terms of performance for queries with functions like offset.
* added Seek to deletedIterator and test.
* storage/tsdb was removed as it was only a unnecessary glue with incompatible structs.

No logic was changed, only different source of abstractions, so no need for benchmarks.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
2020-02-17 18:03:54 +00:00
..
httputil Refactor query log fields (#6694) 2020-01-27 09:53:10 +00:00
promlint util/promlint: simplify sorting function (#6448) 2019-12-11 15:45:26 +01:00
stats Add windows tests for query logger (#6653) 2020-01-20 13:17:11 +00:00
strutil *: enable all default linters (#5504) 2019-05-03 15:11:28 +02:00
teststorage Unify Iterator interfaces. All point to storage now. 2020-02-17 18:03:54 +00:00
testutil Add windows tests for query logger (#6653) 2020-01-20 13:17:11 +00:00
treecache Fix zk connection leak (#5675) 2019-06-21 13:21:13 +01:00