mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-23 01:08:32 +02:00
26 lines
895 B
YAML
26 lines
895 B
YAML
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 }}"
|