mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-23 09:58:16 +08:00
Publish
This commit is contained in:
parent
55b049eb28
commit
4ef135649f
1 changed files with 23 additions and 0 deletions
23
dist/rules/argocd/embedded-exporter.yml
vendored
Normal file
23
dist/rules/argocd/embedded-exporter.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
groups:
|
||||||
|
|
||||||
|
- name: EmbeddedExporter
|
||||||
|
|
||||||
|
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 }}"
|
||||||
Loading…
Reference in a new issue