1
0
Fork 0
mirror of https://github.com/monitoring-mixins/website.git synced 2024-12-14 11:37:31 +00:00
monitoring-mixins-website/assets/grafana/rules.yaml
Paweł Krupa (paulfantom) a51b164bd4 *: add grafana mixin
2022-12-09 14:55:02 +01:00

6 lines
255 B
YAML

groups:
- name: grafana_rules
rules:
- expr: |
sum by (namespace, job, handler, status_code) (rate(grafana_http_request_duration_seconds_count[5m]))
record: namespace_job_handler_statuscode:grafana_http_request_duration_seconds_count:rate5m