mirror of
https://github.com/prometheus/prometheus
synced 2024-12-23 23:13:11 +00:00
fe802f29c9
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> |
||
---|---|---|
.. | ||
fixtures | ||
alerting_test.go | ||
alerting.go | ||
manager_test.go | ||
manager.go | ||
recording_test.go | ||
recording.go |