From 6e41f956504a28c2291bc096ba713e33f6938a50 Mon Sep 17 00:00:00 2001 From: kaliraja <34502260+Kaali09@users.noreply.github.com> Date: Sat, 8 Aug 2020 18:33:33 +0530 Subject: [PATCH] Issue #0000 feat: updated the slack rules (#1788) --- .../roles/sunbird-monitoring/templates/alertrules.yaml | 2 +- .../sunbird-monitoring/templates/prometheus-operator.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kubernetes/ansible/roles/sunbird-monitoring/templates/alertrules.yaml b/kubernetes/ansible/roles/sunbird-monitoring/templates/alertrules.yaml index 27b076a7e8..6b0bdafd4a 100644 --- a/kubernetes/ansible/roles/sunbird-monitoring/templates/alertrules.yaml +++ b/kubernetes/ansible/roles/sunbird-monitoring/templates/alertrules.yaml @@ -2,7 +2,7 @@ kafka_topic_prefix: "{{ env_name }}" app_es_server_count: "{{ groups['es'] | length }}" log_es_server_count: "{{ groups['log-es-2'] | length }}" log_es_threshold: 30 -secor_job_count: "{{ secor_job_count | d(13) }}" +secor_job_count: "{{ secor_job_count | d(15) }}" kafka_events_deviceprofile_backup_threshold: "{{ kafka_events_deviceprofile_backup_threshold }}" kafka_events_channel_backup_threshold: "{{ kafka_events_channel_backup_threshold }}" diff --git a/kubernetes/ansible/roles/sunbird-monitoring/templates/prometheus-operator.yaml b/kubernetes/ansible/roles/sunbird-monitoring/templates/prometheus-operator.yaml index 39867a5a85..f9e53ce506 100644 --- a/kubernetes/ansible/roles/sunbird-monitoring/templates/prometheus-operator.yaml +++ b/kubernetes/ansible/roles/sunbird-monitoring/templates/prometheus-operator.yaml @@ -43,11 +43,11 @@ alertmanager: group_interval: 5m repeat_interval: 4h routes: - - receiver: slack - continue: true - match: module: dp receiver: dp-slack + - receiver: slack + continue: true {% for item in alert_teams %} # Comment to ensure proper indentation while templating - match_re: