mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-14 17:44:06 -08:00
44904a663c
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
28 lines
768 B
YAML
28 lines
768 B
YAML
groups:
|
|
- name: aligned
|
|
align_evaluation_time_on_interval: true
|
|
interval: 5m
|
|
rules:
|
|
- record: job:http_requests:rate5m
|
|
expr: sum by (job)(rate(http_requests_total[5m]))
|
|
|
|
- name: aligned_with_crazy_interval
|
|
align_evaluation_time_on_interval: true
|
|
interval: 1m27s
|
|
rules:
|
|
- record: job:http_requests:rate5m
|
|
expr: sum by (job)(rate(http_requests_total[5m]))
|
|
|
|
- name: unaligned_default
|
|
interval: 5m
|
|
rules:
|
|
- record: job:http_requests:rate5m
|
|
expr: sum by (job)(rate(http_requests_total[5m]))
|
|
|
|
- name: unaligned_explicit
|
|
interval: 5m
|
|
align_evaluation_time_on_interval: false
|
|
rules:
|
|
- record: job:http_requests:rate5m
|
|
expr: sum by (job)(rate(http_requests_total[5m]))
|