diff --git a/engine/config_integrations/alertmanager.py b/engine/config_integrations/alertmanager.py index 6f695d4dbe..2df1d9bc55 100644 --- a/engine/config_integrations/alertmanager.py +++ b/engine/config_integrations/alertmanager.py @@ -13,7 +13,7 @@ # Behaviour -source_link = "{{ payload.externalURL }}" +source_link = "{{ payload.alerts[0].generatorURL }}" grouping_id = "{{ payload.groupKey }}" diff --git a/engine/config_integrations/grafana_alerting.py b/engine/config_integrations/grafana_alerting.py index 3209a0fc0d..0dc5b6d6f1 100644 --- a/engine/config_integrations/grafana_alerting.py +++ b/engine/config_integrations/grafana_alerting.py @@ -15,7 +15,7 @@ # Behaviour -source_link = "{{ payload.externalURL }}" +source_link = "{{ payload.alerts[0].generatorURL }}" grouping_id = "{{ payload.groupKey }}"