mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-13 18:05:53 +00:00
1233f671c7
Load silences at startup from a local JSON file, write them out every 10 seconds. It's not perfect (writes may possibly be interrupted/inconsistent if the program is terminated while writing), but this is a temporary solution to keep people from going crazy about lost silences until we have a proper storage management. If the JSON file gets corrupted, the alert manager simply starts up without any silences loaded. |
||
---|---|---|
.. | ||
aggregator_test.go | ||
aggregator.go | ||
event.go | ||
matcher.go | ||
notifier.go | ||
silencer_test.go | ||
silencer.go |