fix(argocd): move contrib into _data/rules.yml instead of dist/...

This commit is contained in:
Samuel Berthe 2022-10-02 18:04:11 +02:00
parent fd076f3028
commit 2bfb8d8ddc
No known key found for this signature in database
GPG key ID: 64863511FFBD0E3C
2 changed files with 19 additions and 26 deletions

View file

@ -1952,6 +1952,24 @@ groups:
query: 'sum(rate(pilot_duplicate_envoy_clusters{}[5m])) > 0'
severity: critical
- name: ArgoCD
exporters:
- name: Embedded exporter
slug: embedded-exporter
doc_url: https://argo-cd.readthedocs.io/en/stable/operator-manual/metrics/
rules:
- name: ArgoCD service not synced
description: Service {{ $labels.name }} run by argo is currently not in sync.
query: 'argocd_app_info{sync_status!="Synced"} != 0'
severity: warning
for: 15m
- name: ArgoCD service unhealthy
description: Service {{ $labels.name }} run by argo is currently not healthy.
query: 'argocd_app_info{health_status!="Healthy"} != 0'
severity: warning
for: 15m
- name: Network, security and storage
services:
- name: Ceph

View file

@ -1,25 +0,0 @@
groups:
- name: ArgoCD
rules:
- alert: ServiceUnSynced
expr: argocd_app_info{sync_status!="Synced"} != 0
for: 20m
labels:
severity: warning
annotations:
summary: ArgoCD Service (name {{ $labels.name }}) unsynced.
description: "Service {{ $labels.name }} run by argo is currently not in sync please check"
- alert: ServiceUnhealthy
expr: argocd_app_info{health_status!="Healthy"} != 0
for: 5m
labels:
severity: critical
annotations:
summary: ArgoCD Service (name {{ $labels.name }}) unhealthy.
description: "Service {{ $labels.name }} run by argo is currently not in healthy please check"