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
This commit is contained in:
Łukasz Mierzwa
2018-12-01 10:47:24 +00:00
parent 3a905b748e
commit 9f4ee09a56
6 changed files with 71 additions and 16 deletions

View File

@@ -11,6 +11,7 @@ const Annotation = PropTypes.exact({
const APIAlertAlertmanagerState = PropTypes.exact({
name: PropTypes.string.isRequired,
cluster: PropTypes.string.isRequired,
state: AlertState.isRequired,
startsAt: PropTypes.string.isRequired,
endsAt: PropTypes.string.isRequired,