You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

8 lines
373 B

# Don't really know what I'm doing but let's go
groups:
- name: test_rules
rules:
- record: generator:http_requests_duration_seconds_count:irate5m
expr: sum ( irate( http_requests_duration_seconds_count [5m]) ) by (status)
- record: generator:http_requests_duration_seconds_sum:irate5m
expr: sum ( irate( http_requests_duration_seconds_sum [5m]) ) by (status)