From cda78c6fe811b1c2be83b1ea660a3464b8a476b2 Mon Sep 17 00:00:00 2001 From: arunkg2787 <131352769+arunkg2787@users.noreply.github.com> Date: Wed, 9 Aug 2023 21:23:57 +0530 Subject: [PATCH] Update _index.md (#72562) Fixes # https://github.com/grafana/support-escalations/issues/6887 Configure HA: Added ha_peer_Timeout global config in the unified alerting --- .../alerting/set-up/configure-high-availability/_index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/sources/alerting/set-up/configure-high-availability/_index.md b/docs/sources/alerting/set-up/configure-high-availability/_index.md index ac06c3cc1cf..af38b6ff6c0 100644 --- a/docs/sources/alerting/set-up/configure-high-availability/_index.md +++ b/docs/sources/alerting/set-up/configure-high-availability/_index.md @@ -36,6 +36,7 @@ Since gossiping of notifications and silences uses both TCP and UDP port `9094`, You must have at least one (1) Grafana instance added to the [`[ha_peer]` section. 3. Set `[ha_listen_address]` to the instance IP address using a format of `host:port` (or the [Pod's](https://kubernetes.io/docs/concepts/workloads/pods/) IP in the case of using Kubernetes). By default, it is set to listen to all interfaces (`0.0.0.0`). +4. Set `[ha_peer_timeout]` in the `[unified_alerting]` section of the custom.ini to specify the time to wait for an instance to send a notification via the Alertmanager. The default value is 15s, but it may increase if Grafana servers are located in different geographic regions or if the network latency between them is high ## Enable alerting high availability using Kubernetes @@ -101,4 +102,5 @@ enabled = true ha_listen_address = "${POD_IP}:9094" ha_peers = "grafana-alerting.grafana:9094" ha_advertise_address = "${POD_IP}:9094" +ha_peer_timeout = 15s ```