prometheus/promql
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
..
fuzz-data
testdata PromQL: Fix string and parentheses handling in engine (#6612) 2020-01-15 18:31:58 +01:00
ast.go PromQL: Various small improvements in the parser (#6652) 2020-01-17 15:16:58 +00:00
bench_test.go Remove MaxConcurrent from the PromQL engine opts (#6712) 2020-01-28 20:38:49 +00:00
engine.go Merge pull request #6821 from prometheus/release-2.16 2020-02-14 13:10:14 +01:00
engine_test.go fix comments spelling (#6829) 2020-02-17 12:45:11 +01:00
functions.go PromQL: Various small improvements in the parser (#6652) 2020-01-17 15:16:58 +00:00
functions_test.go Remove MaxConcurrent from the PromQL engine opts (#6712) 2020-01-28 20:38:49 +00:00
fuzz.go fix fuzz targets (#5851) 2019-08-12 20:47:57 +02:00
generated_parser.y PromQL: Various small improvements in the parser (#6652) 2020-01-17 15:16:58 +00:00
generated_parser.y.go PromQL: Various small improvements in the parser (#6652) 2020-01-17 15:16:58 +00:00
lex.go PromQL: Use PositionRange in parser errors (#6634) 2020-01-15 20:01:49 +00:00
lex_test.go Fix order of testutil.Equals (#6695) 2020-01-27 12:21:59 +00:00
parse.go PromQL: Various small improvements in the parser (#6652) 2020-01-17 15:16:58 +00:00
parse_test.go Fix order of testutil.Equals (#6695) 2020-01-27 12:21:59 +00:00
printer.go PromQL: Various small improvements in the parser (#6652) 2020-01-17 15:16:58 +00:00
printer_test.go fix subquery with offset conversion to string (#6373) 2019-11-26 06:45:51 +00:00
promql_test.go promql: Move tests to testutil (#6103) 2019-10-09 18:06:53 -06:00
quantile.go func name ref correct "qauntile" -> "quantile" (#5834) 2019-08-06 06:11:16 +01:00
query_logger.go Remove MaxConcurrent from the PromQL engine opts (#6712) 2020-01-28 20:38:49 +00:00
query_logger_test.go promql: make active query tracker context-aware (#6701) 2020-01-27 22:29:44 +00:00
test.go Unify Iterator interfaces. All point to storage now. 2020-02-17 18:03:54 +00:00
test_test.go Fix some spelling issues (#5361) 2019-03-14 14:38:54 +00:00
value.go Unify Iterator interfaces. All point to storage now. 2020-02-17 18:03:54 +00:00