mirror of https://github.com/prometheus/prometheus
Browse Source
Previously it would set no preconditions and check no postconditions, as the `groups` member was empty. Signed-off-by: Bryan Boreham <bjboreham@gmail.com>pull/4195/head^2
Bryan Boreham
7 years ago
committed by
Brian Brazil
2 changed files with 9 additions and 2 deletions
@ -0,0 +1,5 @@
|
||||
groups: |
||||
- name: test |
||||
rules: |
||||
- record: job:http_requests:rate5m |
||||
expr: sum by (job)(rate(http_requests_total[5m])) |
Loading…
Reference in new issue