prometheus/promql
Neeraj Gartia 38bb6ece25
[BUGFIX] PromQL: Fix behaviour of some aggregations with histograms (#15432)
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>
2024-11-26 19:12:36 +01:00
..
fuzz-data
parser Use a function to determine if an aggregation function is experimental (#15331) 2024-11-15 15:09:50 +01:00
promqltest [BUGFIX] PromQL: Fix behaviour of some aggregations with histograms (#15432) 2024-11-26 19:12:36 +01:00
bench_test.go v2.55.0 2024-10-25 14:16:22 +02:00
engine.go [BUGFIX] PromQL: Fix behaviour of some aggregations with histograms (#15432) 2024-11-26 19:12:36 +01:00
engine_internal_test.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
engine_test.go promqltest: Complete the tests for info annotations (#15429) 2024-11-21 14:20:38 +01:00
functions.go apply DRY on clamp (#15441) 2024-11-24 17:08:59 +01:00
functions_internal_test.go
functions_test.go
fuzz.go scrape: provide a fallback format (#15136) 2024-10-18 17:12:31 +02:00
fuzz_test.go fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" (#15094) 2024-10-06 16:35:29 +00:00
histogram_stats_iterator.go
histogram_stats_iterator_test.go Upgrade to golangci-lint v1.62.0 (#15424) 2024-11-20 17:22:20 +01:00
info.go enable errorf rule from perfsprint linter 2024-11-06 16:50:36 +01:00
info_test.go [FEATURE] PromQL: Add experimental info function MVP (#14495) 2024-10-16 13:52:11 +01:00
promql_test.go
quantile.go promql(native histograms): Introduce exponential interpolation 2024-09-19 14:19:10 +02:00
quantile_test.go
query_logger.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
query_logger_test.go chore: Fix typos (#14868) 2024-09-10 22:32:03 +02:00
value.go chore: Fix typos (#14868) 2024-09-10 22:32:03 +02:00
value_test.go