Skip to content

Commit

Permalink
Fix wrong example in recording rules (#818)
Browse files Browse the repository at this point in the history
The example partially presents an alert as example instead of a recording rule.
The name also contains white spaces, which is not supported
  • Loading branch information
tanisdlj authored Nov 28, 2023
1 parent e737115 commit f628bee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/resources/vmrule.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ metadata:
name: vmrule-recording-example
spec:
groups:
- name: vmalert
- name: vmrule_recording_groupname
interval: 1m
rules:
- alert: vmalert config reload error
- record: vm_http_request_errors_total:sum_by_cluster_namespace_job:rate:5m
expr: |-
sum by (cluster, namespace, job) (
rate(vm_http_request_errors_total[5m])
Expand Down

0 comments on commit f628bee

Please sign in to comment.