From 69e1046ed3a321eb45d08f983a1a320ef637c63d Mon Sep 17 00:00:00 2001 From: Gilles De Mey Date: Thu, 30 Nov 2023 22:30:24 +0100 Subject: [PATCH] Alerting: Hide error messages for failing HTTP calls to Grafana OnCall (#78919) --- public/app/features/alerting/unified/api/onCallApi.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/app/features/alerting/unified/api/onCallApi.ts b/public/app/features/alerting/unified/api/onCallApi.ts index 7127f4cfbe0..bd4baad847a 100644 --- a/public/app/features/alerting/unified/api/onCallApi.ts +++ b/public/app/features/alerting/unified/api/onCallApi.ts @@ -43,6 +43,7 @@ export const onCallApi = alertingApi.injectEndpoints({ // legacy_grafana_alerting is necessary for OnCall. // We do NOT need to differentiate between these two on our side params: { filters: true, integration: [GRAFANA_ONCALL_INTEGRATION_TYPE, 'legacy_grafana_alerting'] }, + showErrorAlert: false, }), transformResponse: (response: AlertReceiveChannelsResult) => { if (isPaginatedResponse(response)) { @@ -71,6 +72,7 @@ export const onCallApi = alertingApi.injectEndpoints({ features: build.query({ query: () => ({ url: getProxyApiUrl('/api/internal/v1/features/'), + showErrorAlert: false, }), }), }),