Feature 10981: auto-scaling alerts rules for AlertManager 01/13201/5
authoraguilard <e.dah.tid@telefonica.com>
Fri, 14 Apr 2023 13:04:14 +0000 (13:04 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 20 Apr 2023 12:03:48 +0000 (14:03 +0200)
Change-Id: I7e8c3f7b1dd3201b75848ae6264eaa2375a5b06b
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
installers/helm/values/alertmanager-values.yaml

index 0f43f93..2e438cb 100644 (file)
@@ -24,6 +24,12 @@ config:
     - name: vdu-webhook
       webhook_configs:
        - url: http://webhook-translator/alert_vdu
+    - name: scaleout-webhook
+      webhook_configs:
+       - url: http://webhook-translator/scaleout_vdu
+    - name: scalein-webhook
+      webhook_configs:
+       - url: http://webhook-translator/scalein_vdu
   route:
     group_wait: 10s
     group_interval: 2m
@@ -33,3 +39,9 @@ config:
     - receiver: vdu-webhook
       matchers:
       - alertname = "vdu_down"
+    - receiver: 'scaleout-webhook'
+      matchers:
+      - alertname =~ "^scaleout_.*"
+    - receiver: 'scalein-webhook'
+      matchers:
+      - alertname =~ "^scalein_.*"