prometheus/promql
Bryan Boreham 7f99d2930d [BUGFIX] PromQL: make sort_by_label stable
Go's sorting functions can re-order equal elements, so the strategy of
sorting by the fallback ordering first does not always work.
Pulling the fallback into the main comparison function is more reliable
and more efficient.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-09-26 11:12:33 +01:00
..
fuzz-data
parser Merge pull request #14821 from charleskorn/nh-negative-multiplication-division 2024-09-19 14:07:37 +01:00
promqltest Merge pull request #14821 from charleskorn/nh-negative-multiplication-division 2024-09-19 14:07:37 +01:00
bench_test.go Merge remote-tracking branch 'prometheus/main' into arve/close-engine 2024-08-26 12:17:10 +02:00
engine.go Merge pull request #14821 from charleskorn/nh-negative-multiplication-division 2024-09-19 14:07:37 +01:00
engine_internal_test.go
engine_test.go promql.Engine.Close: No-op if nil (#14861) 2024-09-08 14:39:13 +02:00
functions.go [BUGFIX] PromQL: make sort_by_label stable 2024-09-26 11:12:33 +01:00
functions_internal_test.go
functions_test.go
fuzz.go
fuzz_test.go remove obsolete build tag 2024-01-17 22:26:32 +08:00
histogram_stats_iterator.go
histogram_stats_iterator_test.go Add more test cases 2024-07-29 14:53:32 +02:00
promql_test.go
quantile.go
quantile_test.go
query_logger.go
query_logger_test.go
value.go PromQL engine: Delay deletion of __name__ label to the end of the query evaluation (#14477) 2024-08-29 15:50:39 +02:00
value_test.go