mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-26 11:27:00 +08:00
add argocd rules
This commit is contained in:
parent
3ae036c975
commit
fd076f3028
2 changed files with 26 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ Collection available here: **[https://awesome-prometheus-alerts.grep.to](https:/
|
|||
- [Etcd](https://awesome-prometheus-alerts.grep.to/rules#etcd)
|
||||
- [Linkerd](https://awesome-prometheus-alerts.grep.to/rules#linkerd)
|
||||
- [Istio](https://awesome-prometheus-alerts.grep.to/rules#istio)
|
||||
- [ArgoCD](https://awesome-prometheus-alerts.grep.to/rules#argocd)
|
||||
|
||||
#### Network, security and storage
|
||||
|
||||
|
|
|
|||
25
dist/rules/argocd/argocd.yml
vendored
Normal file
25
dist/rules/argocd/argocd.yml
vendored
Normal 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"
|
||||
Loading…
Reference in a new issue