Feature 10981: auto-scaling alerts rules for AlertManager
[osm/devops.git] / 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_.*"