prometheus/promql
Ayoub Mrini fefd8ecfe3
[BUGFIX] avoid closing the query engine until it is guaranteed to no longer be in use. (#15724)
Backport of #15723

partially reverts https://github.com/prometheus/prometheus/pull/14064

fixes https://github.com/prometheus/prometheus/issues/15232

supersedes https://github.com/prometheus/prometheus/pull/15533

reusing Engine.Close() outside of tests will require more consideration.

Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2024-12-30 11:17:47 +00:00
..
fuzz-data
parser promql: Fix various UTF-8 bugs related to quoting 2024-12-04 14:18:59 -05:00
promqltest [BUGFIX] PromQL: Adds test for absent, absent_over_time and deriv func with histograms (#15667) 2024-12-13 13:34:55 +01:00
bench_test.go v2.55.0 2024-10-25 14:16:22 +02:00
engine.go [BUGFIX] avoid closing the query engine until it is guaranteed to no longer be in use. (#15724) 2024-12-30 11:17:47 +00:00
engine_internal_test.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
engine_test.go promql: Fix various UTF-8 bugs related to quoting 2024-12-04 14:18:59 -05:00
functions.go promql: Purge Holt-Winters from a doc comment 2024-12-11 12:03:19 +01:00
functions_internal_test.go Fix issue where summation of +/- infinity returns NaN instead of infinity 2024-06-28 11:26:54 +10:00
functions_test.go Refactor engine creation in tests 2024-07-14 13:58:51 +02:00
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 Use CopyTo when resetting histogram in stats iterator 2024-07-31 11:18:47 +02:00
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 Refactor engine creation in tests 2024-07-14 13:58:51 +02:00
quantile.go Export quantile functions (#15190) 2024-11-27 13:20:23 +01:00
quantile_test.go Export quantile functions (#15190) 2024-11-27 13:20:23 +01:00
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