feat: update alert rules

This commit is contained in:
Ryan Yin
2025-09-11 13:48:01 +08:00
parent e902a9bdb1
commit 7f112010c2
8 changed files with 546 additions and 130 deletions
@@ -0,0 +1,25 @@
groups:
- name: ArgoCD Exporter
rules:
- alert: ArgocdServiceNotSynced
expr: 'argocd_app_info{sync_status!="Synced"} != 0'
for: 15m
labels:
severity: warning
annotations:
summary: ArgoCD service not synced (instance {{ $labels.instance }})
description:
"Service {{ $labels.name }} run by argo is currently not in sync.\n VALUE = {{ $value
}}\n LABELS = {{ $labels }}"
- alert: ArgocdServiceUnhealthy
expr: 'argocd_app_info{health_status!="Healthy"} != 0'
for: 15m
labels:
severity: warning
annotations:
summary: ArgoCD service unhealthy (instance {{ $labels.instance }})
description:
"Service {{ $labels.name }} run by argo is currently not healthy.\n VALUE = {{ $value
}}\n LABELS = {{ $labels }}"