mirror of https://github.com/prometheus/prometheus
38bb6ece25
promql: fix some aggregations for histograms This PR fixes the behaviour of `topk`,`bottomk`, `limitk` and `limit_ratio` with histograms. The fixed behaviour are as follows: - For `topk` and `bottomk` histograms are ignored and add info annotations added. - For `limitk` and `limit_ratio` histograms are included in the results(if applicable). Signed-off-by: Neeraj Gartia <neerajgartia211002@gmail.com> |
||
---|---|---|
.. | ||
fuzz-data | ||
parser | ||
promqltest | ||
bench_test.go | ||
engine.go | ||
engine_internal_test.go | ||
engine_test.go | ||
functions.go | ||
functions_internal_test.go | ||
functions_test.go | ||
fuzz.go | ||
fuzz_test.go | ||
histogram_stats_iterator.go | ||
histogram_stats_iterator_test.go | ||
info.go | ||
info_test.go | ||
promql_test.go | ||
quantile.go | ||
quantile_test.go | ||
query_logger.go | ||
query_logger_test.go | ||
value.go | ||
value_test.go |