mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-27 08:32:15 +00:00
3c981a92f7
Add version tracking of silences states. Adding a silence to the state increments the version. If the version hasn't changed since the last time an alert was checked for being silenced, we only have to verify that the relevant silences are still active rather than checking the alert against all silences. Signed-off-by: beorn7 <beorn@soundcloud.com> |
||
---|---|---|
.. | ||
match_test.go | ||
match.go | ||
types_test.go | ||
types.go |