alertmanager/nflog
stuart nelson 2026e4a01f
[gossip] Don't merge expired gossip messages (#1631)
* [silences] Don't merge expired silences

If they're expired, they should be cleaned up on
the next GC cycle, but merging them in means that
they'll probably be gossip'd continually between
the cluster members.

Signed-off-by: stuart nelson <stuartnelson3@gmail.com>

* Add analogous behavior+test for nflog

The code for nflog was also constantly re-adding
nflogs to the internal memory store, the same as
the silence code was.

Signed-off-by: stuart nelson <stuartnelson3@gmail.com>

* Add retention to TestQuery

With the default 0 retention, the alerts would not
be merged.

Signed-off-by: Stuart Nelson <stuartnelson3@gmail.com>
2018-11-21 11:40:57 +01:00
..
nflogpb notify: notify resolved alerts properly (#1408) 2018-06-08 11:37:38 +02:00
nflog.go [gossip] Don't merge expired gossip messages (#1631) 2018-11-21 11:40:57 +01:00
nflog_test.go [gossip] Don't merge expired gossip messages (#1631) 2018-11-21 11:40:57 +01:00