alertmanager/api/v2
beorn7 3c981a92f7 Improve `Mutes` performance for silences
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>
2019-02-28 12:34:41 +01:00
..
models api/v2: Make cluster status peers and name optional 2019-02-04 11:40:30 +01:00
restapi *: use stdlib context (#1768) 2019-02-26 12:18:57 +01:00
api.go Improve `Mutes` performance for silences 2019-02-28 12:34:41 +01:00
api_test.go api/v2: Make cluster status peers and name optional 2019-02-04 11:40:30 +01:00
openapi.yaml api/v2: Make cluster status peers and name optional 2019-02-04 11:40:30 +01:00