From af940658375e9b299be38d61bb0a3a75ae40f6cc Mon Sep 17 00:00:00 2001 From: "Daniel.Sy" Date: Wed, 16 Jul 2025 08:19:01 +0000 Subject: [PATCH] =?UTF-8?q?otc/observability.t09.de/stacks/observability/v?= =?UTF-8?q?ictoria-k8s-stack/manifests/alerts.yaml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../victoria-k8s-stack/manifests/alerts.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 otc/observability.t09.de/stacks/observability/victoria-k8s-stack/manifests/alerts.yaml diff --git a/otc/observability.t09.de/stacks/observability/victoria-k8s-stack/manifests/alerts.yaml b/otc/observability.t09.de/stacks/observability/victoria-k8s-stack/manifests/alerts.yaml new file mode 100644 index 0000000..3d2ce3f --- /dev/null +++ b/otc/observability.t09.de/stacks/observability/victoria-k8s-stack/manifests/alerts.yaml @@ -0,0 +1,18 @@ +apiVersion: operator.victoriametrics.com/v1beta1 +kind: VMRule +metadata: + name: alerting-example + namespace: observability +spec: + groups: + - name: vmalert + rules: + - alert: vmalert config reload error + expr: delta(vmalert_config_last_reload_errors_total[5m]) > 0 + for: 10s + labels: + severity: major + job: "{{ $labels.job }}" + annotations: + value: "{{ $value }}" + description: 'error reloading vmalert config, reload count for 5 min {{ $value }}' \ No newline at end of file