alertmanager/silence
Corentin Chary bff889b490 silence|alerts: add metrics about current silences and alerts
This adds metrics that look like this:
```
alertmanager_alerts{state="active"} 6
alertmanager_alerts{state="suppressed"} 0
alertmanager_silences{state="active"} 1
alertmanager_silences{state="expired"} 1
alertmanager_silences{state="pending"} 0
```

This can be used to monitor alertmanager's usage and validate that
alertmanagers in a mesh have a similar number of silences and alerts.
2017-10-02 13:33:29 +02:00
..
silencepb Simplify silence modifications, add update endpoint (#796) 2017-05-16 16:48:25 +02:00
silence_test.go silence|alerts: add metrics about current silences and alerts 2017-10-02 13:33:29 +02:00
silence.go silence|alerts: add metrics about current silences and alerts 2017-10-02 13:33:29 +02:00