otc/observability.t09.de/stacks/observability/victoria-k8s-stack/manifests/alerts.yaml hinzugefügt
This commit is contained in:
parent
57f8957fd0
commit
af94065837
1 changed files with 18 additions and 0 deletions
|
@ -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 }}'
|
Loading…
Reference in a new issue