prometheus/cmd/prometheus
Julien 146b22d196 fix(autoreload): Reload invalid yaml files
When a YAML file is invalid, trigger auto-reload anyway so that user is
aware that the configuration file is incorrect.

Failing to do so does not change the reload status in metrics and api.

Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-20 13:38:05 +02:00
..
testdata End-to-end Query Log test (#6600) 2020-01-19 21:56:13 +00:00
main.go fix(autoreload): Reload invalid yaml files 2024-09-20 13:38:05 +02:00
main_test.go utf8: enable utf-8 support by default 2024-09-06 08:48:11 -04:00
main_unix_test.go tests: remove err from message when testify prints it already 2024-02-01 14:18:01 +00:00
query_log_test.go Fix various linting errors 2024-06-24 16:11:53 -07:00
scrape_failure_log_test.go Scrape: Add scrape_failure_log_file to log Scrape Failures 2024-09-05 11:01:40 +02:00