mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 00:53:12 +00:00
940f83a540
NOTE: Rebased from main after refactor in #13014 Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
8 lines
210 B
YAML
8 lines
210 B
YAML
groups:
|
|
- name: test
|
|
rules:
|
|
- record: job:http_requests:rate5m
|
|
expr: sum by (job)(rate(http_requests_total[5m]))
|
|
- record: HighRequestRate
|
|
expr: job:http_requests:rate5m > 100
|