prometheus/alert_manager — pull request #10 by juliusv (2013-07-31 16:02:08+00:00)
Title: Persist silences to a local JSON file.

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.