prometheus/rules/fixtures/rules.yaml

6 lines
129 B
YAML

groups:
- name: test
rules:
- record: job:http_requests:rate5m
expr: sum by (job)(rate(http_requests_total[5m]))