prometheus/cmd/prometheus
machine424 9823a93c42
fix(main.go): avoid closing the query engine until it is guaranteed to no longer be in use.
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 05:14:44 +01:00
..
testdata End-to-end Query Log test (#6600) 2020-01-19 21:56:13 +00:00
main.go fix(main.go): avoid closing the query engine until it is guaranteed to no longer be in use. 2024-12-30 05:14:44 +01:00
main_test.go test(cmd/prometheus): speed up test execution by t.Parallel() when possible 2024-10-18 17:52:59 +02:00
main_unix_test.go test(cmd/prometheus): speed up test execution by t.Parallel() when possible 2024-10-18 17:52:59 +02:00
query_log_test.go test(cmd/prometheus): speed up test execution by t.Parallel() when possible 2024-10-18 17:52:59 +02:00
reload_test.go Fix auto reload when a config file with a syntax error is reverted 2024-11-05 12:43:34 +01:00
scrape_failure_log_test.go Scrape: Add scrape_failure_log_file to log Scrape Failures 2024-09-05 11:01:40 +02:00