prometheus/storage/remote
Bartlomiej Plotka c4eefd1b3a 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-20 21:14:43 +01:00
..
chunked.go remote-read: streamed chunked server side; Extended protobuf; Added chunked, checksumed reader (#5703) 2019-08-19 21:16:10 +01:00
chunked_test.go remote-read: streamed chunked server side; Extended protobuf; Added chunked, checksumed reader (#5703) 2019-08-19 21:16:10 +01:00
client.go Make remote client Store use passed context (#6673) 2020-01-27 07:43:20 -07:00
client_test.go Improve testutil.ErrorEqual (#6471) 2019-12-17 21:11:33 +00:00
codec.go storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response. 2020-03-20 21:14:43 +01:00
codec_test.go storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response. 2020-03-20 21:14:43 +01:00
ewma.go Merge the 2.13 release branch to master (#6117) 2019-10-09 17:41:46 +02:00
intern.go Merge the 2.13 release branch to master (#6117) 2019-10-09 17:41:46 +02:00
intern_test.go Fix order of testutil.Equals (#6695) 2020-01-27 12:21:59 +00:00
max_gauge.go resolve race condition in maxGauge (#5647) 2019-06-13 20:55:08 +01:00
queue_manager.go Fix bug with WAL watcher and Live Reader metrics usage. (#6998) 2020-03-20 17:34:15 +01:00
queue_manager_test.go Fix bug with WAL watcher and Live Reader metrics usage. (#6998) 2020-03-20 17:34:15 +01:00
read.go storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response. 2020-03-20 21:14:43 +01:00
read_test.go storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response. 2020-03-20 21:14:43 +01:00
storage.go Unify Iterator interfaces. All point to storage now. 2020-02-17 18:03:54 +00:00
storage_test.go pass registerer from storage to queue manager for its metrics (#6728) 2020-02-03 13:47:03 -08:00
write.go Fix bug with WAL watcher and Live Reader metrics usage. (#6998) 2020-03-20 17:34:15 +01:00
write_test.go pass registerer from storage to queue manager for its metrics (#6728) 2020-02-03 13:47:03 -08:00