alertmanager icon indicating copy to clipboard operation
alertmanager copied to clipboard

Expires notify log sooner when possible

Open roidelapluie opened this issue 2 years ago • 2 comments

It seems useless to keep the notifications in the nflog for longer than twice the repeat interval. This should help reduce memory usage of clustered alertmanagers.

  • [x] needs tests

Signed-off-by: Julien Pivotto [email protected]

roidelapluie avatar Jul 05 '22 10:07 roidelapluie

Attempt to fix #2961

roidelapluie avatar Jul 05 '22 10:07 roidelapluie

@gotjosh We have ran this and noticed a 30% memory decrease with alertmanager with low repeat interval. Any chances to get this merged?

roidelapluie avatar Sep 15 '22 13:09 roidelapluie

This would be change of behaviour, let's merge this while we think on the further change

roidelapluie avatar Oct 19 '22 07:10 roidelapluie