1
0
Fork 0
mirror of https://github.com/monitoring-mixins/website.git synced 2024-12-14 11:37:31 +00:00
monitoring-mixins-website/assets/argocd/alerts.yaml
Vitaly Zhuravlev b3b400137a Add jsonnet-libs mixins
Add blackbox exporter
Add mysql exporter
2024-05-04 12:01:41 +00:00

30 lines
957 B
YAML

groups:
- name: ArgoCD
rules:
- alert: ArgoAppOutOfSync
annotations:
description: Application {{ $labels.name }} has sync status as {{ $labels.sync_status
}}.
summary: Application is OutOfSync.
expr: argocd_app_info{sync_status="OutOfSync"} == 1
for: 1m
labels:
severity: warning
- alert: ArgoAppSyncFailed
annotations:
description: Application {{ $labels.name }} has sync phase as {{ $labels.phase
}}.
summary: Application Sync Failed.
expr: argocd_app_sync_total{phase!="Succeeded"} == 1
for: 1m
labels:
severity: warning
- alert: ArgoAppMissing
annotations:
description: "ArgoCD has not reported any applications data for the past 15
minutes which means that it must be down or not functioning properly. \n"
summary: No reported applications in ArgoCD.
expr: absent(argocd_app_info)
for: 15m
labels:
severity: critical