From 1805613aa8e2eb92a6daa7f7883ff10089447d37 Mon Sep 17 00:00:00 2001 From: aguilard Date: Fri, 14 Apr 2023 13:04:14 +0000 Subject: [PATCH] Feature 10981: auto-scaling alerts rules for AlertManager Change-Id: I7e8c3f7b1dd3201b75848ae6264eaa2375a5b06b Signed-off-by: aguilard --- installers/helm/values/alertmanager-values.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/installers/helm/values/alertmanager-values.yaml b/installers/helm/values/alertmanager-values.yaml index 0f43f93a..2e438cb2 100644 --- a/installers/helm/values/alertmanager-values.yaml +++ b/installers/helm/values/alertmanager-values.yaml @@ -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_.*" -- 2.25.1