From 6adad5e7a5d1004223bbe437ffd4af9e4af96558 Mon Sep 17 00:00:00 2001 From: Arjun Naik Date: Wed, 10 Mar 2021 16:49:46 +0100 Subject: [PATCH] Disable remote write alerts Signed-off-by: Arjun Naik --- pkg/controller/secret/secret_controller.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/controller/secret/secret_controller.go b/pkg/controller/secret/secret_controller.go index f7d92cb1..4118e20f 100644 --- a/pkg/controller/secret/secret_controller.go +++ b/pkg/controller/secret/secret_controller.go @@ -151,6 +151,11 @@ func createPagerdutyRoute() *alertmanager.Route { //https://issues.redhat.com/browse/OSD-6559 {Receiver: receiverNull, Match: map[string]string{"alertname": "PrometheusNotIngestingSamples", "namespace": "openshift-user-workload-monitoring"}}, + //https://issues.redhat.com/browse/OSD-6704 + {Receiver: receiverNull, Match: map[string]string{"alertname": "PrometheusRemoteStorageFailures", "namespace": "openshift-monitoring"}}, + {Receiver: receiverNull, Match: map[string]string{"alertname": "PrometheusRemoteWriteDesiredShards", "namespace": "openshift-monitoring"}}, + {Receiver: receiverNull, Match: map[string]string{"alertname": "PrometheusRemoteWriteBehind", "namespace": "openshift-monitoring"}}, + // https://issues.redhat.com/browse/OSD-1922 {Receiver: receiverMakeItWarning, Match: map[string]string{"alertname": "KubeAPILatencyHigh", "severity": "critical"}},