From 4ef135649f2000f996d9645c33acd9cdc2b11a07 Mon Sep 17 00:00:00 2001 From: samber Date: Sun, 2 Oct 2022 16:06:04 +0000 Subject: [PATCH] Publish --- dist/rules/argocd/embedded-exporter.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 dist/rules/argocd/embedded-exporter.yml diff --git a/dist/rules/argocd/embedded-exporter.yml b/dist/rules/argocd/embedded-exporter.yml new file mode 100644 index 0000000..620f140 --- /dev/null +++ b/dist/rules/argocd/embedded-exporter.yml @@ -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 }}"