Skip to main content

Grafana

Pull alert rules and annotations from a Grafana instance.

Edition: Community (CE)

Configuration

{
"adapter": "grafana",
"name": "Production Grafana",
"config": {
"url": "http://grafana:3000",
"serviceAccountToken": "glsa_...",
"pullAnnotations": true
},
"poll_interval": 60
}
FieldRequiredDefaultDescription
urlYesGrafana base URL
serviceAccountTokenYes*Service account token (recommended)
apiKeyYes*Legacy API key (alternative)
pullAnnotationsNotrueAlso pull recent annotations

*One of serviceAccountToken or apiKey is required.

What It Pulls

Alerts

Provisioned alert rules from /api/v1/provisioning/alert-rules with their active/paused state and edit URLs.

Annotations

Recent annotations within the poll window (2x poll interval for overlap). Includes dashboard and panel context.