mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-16 10:34:06 -08:00
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
|