prometheus/promql
Bartlomiej Plotka fe802f29c9 storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
This is technically BREAKING CHANGE, but it was like this from the beginning: I just notice that we rely in
Prometheus on remote read being sorted. This is because we use selected data from remote reads in MergeSeriesSet
which rely on sorting.

I found during work on https://github.com/prometheus/prometheus/pull/5882 that
we do so many repetitions because of this, for not good reason. I think
I found a good balance between convenience and readability with just one method.
Smaller the interface = better.

Also I don't know what TestSelectSorted was testing, but now it's testing sorting.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
2020-03-13 13:06:25 +00:00
..
fuzz-data textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
parser Fix panic when parsing varags (#6940) 2020-03-08 13:09:24 +01:00
testdata PromQL: Fix string and parentheses handling in engine (#6612) 2020-01-15 18:31:58 +01:00
bench_test.go Merge branch 'master' into split_parser 2020-02-19 15:18:13 +01:00
engine_test.go storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response. 2020-03-13 13:06:25 +00:00
engine.go storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response. 2020-03-13 13:06:25 +00:00
functions_test.go Bartek's suggestions 2020-02-25 13:57:30 +01:00
functions.go remove Unused parameter 'sf' in calcTrendValue function (#6900) 2020-03-03 08:23:27 +00:00
fuzz.go Add missing imports to fuzz tests 2020-02-17 16:09:23 +01:00
promql_test.go Addressed comments. 2020-02-17 18:03:57 +00:00
quantile.go func name ref correct "qauntile" -> "quantile" (#5834) 2019-08-06 06:11:16 +01:00
query_logger_test.go promql: make active query tracker context-aware (#6701) 2020-01-27 22:29:44 +00:00
query_logger.go Remove MaxConcurrent from the PromQL engine opts (#6712) 2020-01-28 20:38:49 +00:00
test_test.go storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response. 2020-03-13 13:06:25 +00:00
test.go Merge branch 'master' into split_parser 2020-02-19 15:18:13 +01:00
value.go Merge branch 'master' into split_parser 2020-02-19 15:18:13 +01:00