From a29d3d166972bdd92b2eeff742311a44f3600599 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 12:49:41 +0300 Subject: [PATCH] [v11.2.x] Alerting: Update contact points list and mute timings list on update (#92053) Alerting: Update contact points list and mute timings list on update (#91776) make sure that contact points list and mute timings list are updated when we update the alertmanager configuration (cherry picked from commit f11d6ebcd0fefd70e7021c78da0606e5b8914402) Co-authored-by: Gilles De Mey --- public/app/features/alerting/unified/api/alertmanagerApi.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/app/features/alerting/unified/api/alertmanagerApi.ts b/public/app/features/alerting/unified/api/alertmanagerApi.ts index 0ab462658e2..a979d952108 100644 --- a/public/app/features/alerting/unified/api/alertmanagerApi.ts +++ b/public/app/features/alerting/unified/api/alertmanagerApi.ts @@ -279,9 +279,11 @@ export const alertmanagerApi = alertingApi.injectEndpoints({ // TODO: Remove as part of migration to k8s API for receivers getContactPointsList: build.query({ query: () => ({ url: '/api/v1/notifications/receivers' }), + providesTags: ['AlertmanagerConfiguration'], }), getMuteTimingList: build.query({ query: () => ({ url: '/api/v1/notifications/time-intervals' }), + providesTags: ['AlertmanagerConfiguration'], }), }), });