Commit Graph

10 Commits

Author SHA1 Message Date
Łukasz Mierzwa
80c30f1879 fix(ui): pass configured alertmanager headers when making requests from the browser
Right now configured headers are only set on requests made from the backend to alertmanager API.
With this change fetch() calls in the browser will use those headers if proxy mode is not enabled.
2019-09-26 20:37:23 +01:00
Łukasz Mierzwa
6b688d6ebb fix(ui): remove prune alert attributes from models 2019-08-08 15:45:01 +01:00
Łukasz Mierzwa
4a751843fb fix(ui): shared silences is now a list
API changed, so UI needs to follow
2019-03-15 11:26:46 +00:00
Łukasz Mierzwa
41cca9e501 feat(ui): deduplicate silences
If all alerts in a group are silenced and the same silence ID is used for all of them then there's no point in rendering silence object for each of the alerts, since they are all identical. Move the silence rendering to the footer if that happens so we save screen space
2019-03-08 17:41:22 +00:00
Łukasz Mierzwa
f099ccc0ea feat(ui): render an indicator icon when alert is inhibited
Right now we don't mark inhibted alerts in any way, so they look like silenced alerts with no silence details. Add an icon with tooltip so inhibited alerts can be easily distinguished from silenced onces
2019-03-05 11:02:08 +00:00
Łukasz Mierzwa
9f4ee09a56 fix(ui): only show one silence per Alertmanager cluster
HA clusters share silences which means that they are currently duplicated for each alertmanager instance in that cluster
2018-12-01 10:47:24 +00:00
Łukasz Mierzwa
3a905b748e feat(api): consume Alertmanager cluster id in the UI 2018-12-01 09:57:59 +00:00
Łukasz Mierzwa
fd2e852050 feat(ui): consumer Alertmanager version and cluster members 2018-11-30 18:35:34 +00:00
Łukasz Mierzwa
455cb288ca fix(tests): alert.alertmanager doesn't have uri key 2018-09-30 09:23:43 +01:00
Łukasz Mierzwa
83aa8b9649 feat(tests): strict validation for props 2018-09-24 15:28:25 +01:00