contrib: remove duplicate alertmanager alert
This commit is contained in:
@@ -17,19 +17,6 @@
|
|||||||
severity: 'critical',
|
severity: 'critical',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
alert: 'AlertmanagerDownOrMissing',
|
|
||||||
annotations: {
|
|
||||||
message: 'An unexpected number of Alertmanagers were scraped or disappeared from discovery.',
|
|
||||||
},
|
|
||||||
expr: |||
|
|
||||||
label_replace(prometheus_operator_alertmanager_spec_replicas{%(prometheusOperatorSelector)s}, "job", "alertmanager-$1", "alertmanager", "(.*)") / ON(job) GROUP_RIGHT() sum(up{%(alertmanagerSelector)s}) BY (job) != 1
|
|
||||||
||| % $._config,
|
|
||||||
'for': '5m',
|
|
||||||
labels: {
|
|
||||||
severity: 'warning',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
alert: 'AlertmanagerFailedReload',
|
alert: 'AlertmanagerFailedReload',
|
||||||
annotations: {
|
annotations: {
|
||||||
|
Reference in New Issue
Block a user