Commit graph

10 commits

Author SHA1 Message Date
Julian Rother
5ebe07a48e
Only reload prometheus/alertmanager if config changes
Previously prometheus/alertmanager were unconditionally reloaded every 10
minutes. Reloading alertmanager when it is about to deliver an alert
notification seems to make it account successfull notification deliveries as
failed, increasing alertmanager_notifications_failed_total. So reloading every
10 minutes caused spurious AlertmanagerNotifications alerts in our setup.

Also config updates are now atomic regardless of whether /tmp is a tmpfs.
2024-08-19 01:38:23 +02:00
nd
6cb9d48140
Merge branch 'master' of ssh://git-ssh.notandy.de:2222/ansible/roles/prometheus 2022-04-08 21:48:39 +00:00
psy
e5e1cc2e5a
fix typo 2022-03-26 16:21:30 +01:00
nd
ff92406c53
reload alertmanager as well 2021-08-14 16:21:14 +01:00
nd
e4507cfffe
fix linter 2021-07-17 02:14:20 +02:00
nd
9007ea71ec
first create config folders, then copy configs 2020-05-23 15:26:48 +02:00
nd
4fec7ab566
fix self scrape if for changed listen addresses 2020-05-23 14:42:47 +02:00
nd
588fe344f1
updated integration of agent 2020-05-22 21:17:59 +02:00
nd
c677a02fde
integrated agent role 2020-05-22 14:47:56 +02:00
nd
688b134522
Initial commit 2019-11-02 14:42:37 +01:00