prometheus/promql/testdata
Ivan Babrou a6b35ff304
promql: use natural sort in sort_by_label and sort_by_label_desc (#13411)
These functions are intended for humans, as robots can already sort the results
however they please. Humans like things sorted "naturally":

* https://blog.codinghorror.com/sorting-for-humans-natural-sort-order/

A similar thing has been done to Grafana, which is also used by humans:

* https://github.com/grafana/grafana/pull/78024
* https://github.com/grafana/grafana/pull/78494

Signed-off-by: Ivan Babrou <github@ivan.computer>
2024-01-16 21:34:09 -03:00
..
aggregators.test address comment 2022-02-15 22:09:17 +08:00
at_modifier.test PromQL: Test negative offset in PromQL tests 2022-01-11 18:23:40 +01:00
collision.test promql: Organize legacy tests into appropriate files (#7989) 2020-10-07 10:09:20 +01:00
functions.test promql: use natural sort in sort_by_label and sort_by_label_desc (#13411) 2024-01-16 21:34:09 -03:00
histograms.test add doc 2022-02-13 21:59:03 +08:00
literals.test PromQL: Fix string and parentheses handling in engine (#6612) 2020-01-15 18:31:58 +01:00
native_histograms.test Unit tests for native histograms (#12668) 2023-08-25 23:35:42 +02:00
operators.test Drop metric name for "atan2" binary operator 2023-07-24 14:36:02 +02:00
selectors.test PromQL: Test negative offset in PromQL tests 2022-01-11 18:23:40 +01:00
staleness.test Remove 4 interval staleness heuristic. (#3244) 2017-10-05 12:55:14 +01:00
subquery.test PromQL: Fix string and parentheses handling in engine (#6612) 2020-01-15 18:31:58 +01:00
trig_functions.test Add inverse hyperbolic functions 2021-09-15 22:47:10 -04:00