mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 21:54:10 -08:00
7aa3b10c3f
Updated & added tests Review feedback nits Return empty map if not indeterminate Use highWatermark to track inflight requests counter Appease the linter Clarify feature flag Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
16 lines
640 B
YAML
16 lines
640 B
YAML
groups:
|
|
- name: independents
|
|
rules:
|
|
- record: job:http_requests:rate1m
|
|
expr: sum by (job)(rate(http_requests_total[1m]))
|
|
- record: job:http_requests:rate5m
|
|
expr: sum by (job)(rate(http_requests_total[5m]))
|
|
- record: job:http_requests:rate15m
|
|
expr: sum by (job)(rate(http_requests_total[15m]))
|
|
- record: job:http_requests:rate30m
|
|
expr: sum by (job)(rate(http_requests_total[30m]))
|
|
- record: job:http_requests:rate1h
|
|
expr: sum by (job)(rate(http_requests_total[1h]))
|
|
- record: job:http_requests:rate2h
|
|
expr: sum by (job)(rate(http_requests_total[2h]))
|