prometheus/cmd
Julien b93aec077c Fix auto reload when a config file with a syntax error is reverted
When we had a syntax error but restored the old file, we did not
re-trigger the config reload, so the config reload metric was showing
that config reload was unsucessful.

I made magic to handle logs in cmd/prometheus.

For now it is a separate file so we can backport this easily.

I will generalize the helper in another PR.

Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-11-12 11:56:05 +01:00
..
prometheus Fix auto reload when a config file with a syntax error is reverted 2024-11-12 11:56:05 +01:00
promtool feat(tools): add debug printouts to rules unit testing (#15196) 2024-10-22 15:24:36 +02:00