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: