grafana

Overview

Jsonnet source code is available at github.com/grafana/grafana

Alerts

Complete list of pregenerated alerts is available here.

GrafanaAlerts

GrafanaRequestsFailing

alert: GrafanaRequestsFailing
annotations:
  message: '{{ $labels.namespace }}/{{ $labels.job }}/{{ $labels.handler }} is experiencing
    {{ $value | humanize }}% errors'
expr: |
  100 * namespace_job_handler_statuscode:grafana_http_request_duration_seconds_count:rate5m{handler!~"/api/datasources/proxy/:id.*|/api/ds/query|/api/tsdb/query", status_code=~"5.."}
  / ignoring (status_code)
  sum without (status_code) (namespace_job_handler_statuscode:grafana_http_request_duration_seconds_count:rate5m{handler!~"/api/datasources/proxy/:id.*|/api/ds/query|/api/tsdb/query"})
  > 50
for: 5m
labels:
  severity: warning

Recording rules

Complete list of pregenerated recording rules is available here.

grafana_rules

namespace_job_handler_statuscode:grafana_http_request_duration_seconds_count:rate5m

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

Dashboards

Following dashboards are generated from mixins and hosted on github: