Automated upload for edp.buildth.ing

This commit is contained in:
Automated pipeline 2025-07-28 09:04:31 +00:00 committed by Actions pipeline
parent e5a0c929b5
commit cfc9f2db20
2 changed files with 36 additions and 10 deletions

View file

@ -0,0 +1,18 @@
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMRule
metadata:
name: forgejo-alerts
namespace: observability
spec:
groups:
- name: forgejo
rules:
- alert: forgejo down
expr: sum by(cluster_environment) (up{pod=~"forgejo-server-.*"}) < 1
for: 30s
labels:
severity: major
job: "{{ $labels.job }}"
annotations:
value: "{{ $value }}"
description: 'forgejo is down in cluster environment {{ $labels.cluster_environment }}'