mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
cf6512abd9
Signed-off-by: bergquist <carl.bergquist@gmail.com>
15 lines
632 B
YAML
15 lines
632 B
YAML
groups:
|
|
- name: GrafanaAlerts
|
|
rules:
|
|
- alert: GrafanaRequestsFailing
|
|
for: 5m
|
|
expr: |
|
|
100 * namespace_job_handler_statuscode:http_request_total:rate5m{handler!~"/datasources/proxy/:id.*|/ds/query|/tsdb/query", statuscode=~"5.."}
|
|
/
|
|
namespace_job_handler_statuscode:http_request_total:rate5m{handler!~"/datasources/proxy/:id.*|/ds/query|/tsdb/query"}
|
|
> 0.5
|
|
labels:
|
|
severity: 'warning'
|
|
annotations:
|
|
message: "'{{ $labels.namespace }}' / '{{ $labels.job }}' / '{{ $labels.handler }}' is experiencing {{ $value | humanize }}% errors"
|