alertmanager/nflog
gotjosh f59460bfd4
Refactor nflog configuration options to make it similar to Silences. (#3220)
* Refactor nflog configuration options to make it similar to Silences.

The Notification Log is a similar component to Silences. They're the only two things that are shared between nodes when running in HA and they both hold some sort of internal state that needs to be cleaned up on an interval.

To simplify the code and make it a bit more understandable (among other benefits such as improved testability) - I've refactor the notification log configuration and `run` to be similar to the silences.
2023-01-19 16:39:03 +00:00
..
nflogpb Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
nflog_test.go Refactor nflog configuration options to make it similar to Silences. (#3220) 2023-01-19 16:39:03 +00:00
nflog.go Refactor nflog configuration options to make it similar to Silences. (#3220) 2023-01-19 16:39:03 +00:00