Grafana
In plain English
Plain definition
Grafana is a tool for building dashboards. It connects to other systems that already hold data, such as metrics, logs or traces, and draws that data as graphs, tables and alerts on a screen. Grafana does not generate or store the underlying data. It visualises data held elsewhere.
How Grafana queries and renders data
Grafana is open source. It queries pluggable datasources (for example Prometheus, Loki, Elasticsearch, InfluxDB, SQL databases and cloud monitoring APIs) through datasource plugins, and renders the results as configurable dashboards composed of panels. Dashboards, datasources, alert rules and notification policies are stored as JSON-serialisable objects, either in Grafana’s own database (SQLite, MySQL or PostgreSQL) or provisioned declaratively from version-controlled files. Grafana itself holds no time-series or log data. It is a query and rendering layer.
Why Grafana matters during an incident
Grafana is where engineers look at system state, so its availability and correctness directly affect incident detection and response. The things to watch are datasource connectivity and query timeouts, dashboard provisioning drift between environments, alert rule evaluation load on the underlying datasource, and access control over who can edit shared dashboards. Because Grafana is stateless with respect to metric data, most Grafana-specific incidents are configuration or connectivity problems rather than data-loss events.
Where Grafana sits in a monitoring stack
Grafana usually sits downstream of one or more data platforms: a metrics store (such as Prometheus or a managed equivalent), a log aggregation system, or a database. It communicates over the network to each configured datasource using datasource-specific authentication (API keys, service accounts or basic auth) and issues read queries only for visualisation and alert evaluation. Grafana’s own persistence layer (its internal database) holds organisational objects (users, teams, dashboards, alert rules, datasource configuration) separately from the observability data it displays. In containerised or Kubernetes environments, Grafana is commonly deployed as a largely stateless service backed by a persistent volume for its internal database and provisioned via configuration-as-code (dashboard JSON and datasource YAML) rather than manual UI edits, to keep environments reproducible.
Provisioning a Prometheus datasource and dashboard
A platform team provisions a Grafana datasource pointing at a Prometheus server, then imports a dashboard JSON file into a version-controlled provisioning directory. On deployment, Grafana reads the provisioning files at startup and creates the datasource and dashboard automatically, avoiding manual UI configuration and making the dashboard state reproducible across environments.
Grafana is not where the data lives
Grafana is often mistaken for a monitoring or metrics-storage system in its own right. Grafana does not collect, scrape or retain time-series data; that responsibility belongs to the connected datasource (for example Prometheus or a log store). If a dashboard shows no data or stale data, the fault is usually in the datasource, the query, or network connectivity between Grafana and that datasource, not in Grafana’s own storage, because Grafana has none for observability data.
Terms that come up alongside Grafana
- Prometheus: a common metrics-collection datasource queried by Grafana.
- Loki: a log aggregation system often paired with Grafana for log visualisation.
- Datasource: the pluggable connection Grafana uses to query external systems.
- Dashboard provisioning: declarative, file-based configuration of dashboards and datasources.
- Alerting: Grafana’s rule-based evaluation of datasource queries to trigger notifications.
Further Reading and Verification
Check the official Grafana documentation for the exact version deployed, since datasource plugin behaviour, provisioning file formats and alerting rule syntax have changed across major releases. Confirm the installed Grafana version and the specific datasource plugin version before relying on any configuration syntax, and validate changes in a non-production instance before applying them to a shared dashboard environment.
Related reading
Authoritative Sources
About this page
Credited to
Dates
Published
Corrections
No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.
Was this useful?
Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.
Recommended reading
More from KBY that goes with this term.


