diff --git a/README.md b/README.md index 2b567c4..c914de9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/dist/rules/argocd/argocd.yml b/dist/rules/argocd/argocd.yml new file mode 100644 index 0000000..8c144e2 --- /dev/null +++ b/dist/rules/argocd/argocd.yml @@ -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"