mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 10:20:29 -06:00
6002df580f
Co-authored-by: Tom Wilkie <tom.wilkie@gmail.com>
8 lines
313 B
YAML
8 lines
313 B
YAML
groups:
|
|
- name: grafana_rules
|
|
rules:
|
|
# Record error rate of http requests excluding dataproxy, /ds/query and /tsdb/query requests
|
|
- record: namespace_job_handler_statuscode:http_request_total:rate5m
|
|
expr: |
|
|
sum by (namespace, job, handler, statuscode) (rate(http_request_total[5m]))
|