6 Commits

Author SHA1 Message Date
Łukasz Mierzwa
5e0cb18075 Correctly seed alert fingerprints
Then need to be set after creating the alert
2017-07-06 22:28:14 -07:00
Łukasz Mierzwa
8ced9d0a1c Always sort InhibitedBy & SilencedBy to ensure order don't change between update 2017-07-01 10:03:07 -07:00
Łukasz Mierzwa
26d14d1bd2 Refactor Alertmanager API client code to use multiple upstream instances
Alerts are stored per instance and deduplicated on read.
2017-06-28 22:35:16 -07:00
Łukasz Mierzwa
6d15a82e89 Support multiple receivers 2017-06-03 13:23:51 -07:00
Łukasz Mierzwa
8a77d620fd Rename @status to @state
Fixes #104

@status filter was added to the master branch to support new status key from Alertmanager >=0.6.1
status ended up being nested in Alertmanager (it was added to solve AM issue 609 and that was a long PR with lots of changes), current unsee implementation ended being slightly off with how Alertmanager is naming this, it should actually be @state rather than @status.
2017-05-23 21:52:08 +01:00
Łukasz Mierzwa
b9de72fc48 Add support for Alertmanager 0.6.2
Minor changes in the API.
2017-05-09 21:52:39 +01:00