add argocd rules

This commit is contained in:
ydissen 2022-10-02 16:08:58 +03:00
parent 3ae036c975
commit fd076f3028
2 changed files with 26 additions and 0 deletions

View file

@ -59,6 +59,7 @@ Collection available here: **[https://awesome-prometheus-alerts.grep.to](https:/
- [Etcd](https://awesome-prometheus-alerts.grep.to/rules#etcd) - [Etcd](https://awesome-prometheus-alerts.grep.to/rules#etcd)
- [Linkerd](https://awesome-prometheus-alerts.grep.to/rules#linkerd) - [Linkerd](https://awesome-prometheus-alerts.grep.to/rules#linkerd)
- [Istio](https://awesome-prometheus-alerts.grep.to/rules#istio) - [Istio](https://awesome-prometheus-alerts.grep.to/rules#istio)
- [ArgoCD](https://awesome-prometheus-alerts.grep.to/rules#argocd)
#### Network, security and storage #### Network, security and storage

25
dist/rules/argocd/argocd.yml vendored Normal file
View file

@ -0,0 +1,25 @@
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"