
Collecting monitoring data is the easy part. A busy system produces millions of metric samples, log lines and traces every hour, and almost none of it is useful until someone can see it: a latency line that bends upward after a deploy, a disk that fills up a little faster each day, an error rate that only rises in one region. Grafana is the tool most teams reach for to turn that raw telemetry into dashboards and alerts, wherever the data happens to be stored.
This article explains what Grafana is, how it works with data sources such as Prometheus, where it is used, when it is the right choice, and how it compares with Kibana, Datadog and BI tools.
What is Grafana?
Grafana is an open-source platform for querying, visualising and alerting on metrics, logs and traces. It connects to many different data sources, from time-series databases to SQL databases and cloud monitoring services, and shows their data side by side in interactive dashboards.
Grafana was created by Torkel Ödegaard, a Swedish developer who made the first commit in December 2013 and published Grafana v1.0, the first public release, on 19 January 2014. It started as a dashboard for Graphite: its first graph panel was a fork of the Kibana histogram panel with a Graphite query editor added. It quickly became popular in the Graphite community and then far beyond it.
In 2014 Ödegaard co-founded Grafana Labs with Raj Dutt and Anthony Woods to develop the project and build a business around it. Grafana was licensed under Apache 2.0 until April 2021, when Grafana Labs moved Grafana, Loki and Tempo to the AGPLv3 licence; plugins, agents and some libraries stayed under Apache 2.0.
How Grafana works
Grafana does not store your data. It keeps dashboards, users and settings in its own small database, but metrics, logs and traces stay in the systems that collect them. When a dashboard loads, Grafana sends queries to those data sources and draws the results.
Data sources and plugins. Each backend is connected through a data source plugin: Prometheus, Loki, Tempo, InfluxDB, Graphite, Elasticsearch, PostgreSQL, MySQL, AWS CloudWatch, Azure Monitor and many more. Each speaks its own query language, such as PromQL, LogQL or SQL, and Grafana provides an editor for it.
Dashboards built from panels. A dashboard is a grid of panels: time series, gauges, tables, heatmaps, logs, traces and maps. Variables let one dashboard switch between environments, clusters or services from a drop-down instead of maintaining copies.
Alerting. Alert rules evaluate queries on a schedule and send notifications to contact points such as email, Slack, PagerDuty, Microsoft Teams or webhooks, with routing, grouping and silences to control noise.
Dashboards as code. Every dashboard is a JSON document. Dashboards, data sources and alert rules can be provisioned from files or managed with Terraform, so monitoring is version-controlled and reproducible like the rest of the infrastructure.
Key features
- Many data sources in one view, so a metric from Prometheus and a row count from PostgreSQL can sit on the same dashboard.
- Rich visualisations, from time series and heatmaps to node graphs for service dependencies.
- Explore, a query workspace for ad-hoc investigation and for jumping from metrics to the matching logs and traces.
- Unified alerting with contact points, notification policies and silences.
- Templating and variables for reusable dashboards across environments.
- A large plugin and dashboard library, including community dashboards for common systems.
- Three editions: open-source Grafana, Grafana Enterprise with extra plugins and access controls, and Grafana Cloud as a managed service with a free tier.
Where Grafana is used
- Infrastructure and Kubernetes monitoring, most often on top of Prometheus, for clusters, nodes and workloads on Kubernetes.
- Application monitoring: request rates, error rates and latency per service, often alongside logs in Loki and traces in Tempo.
- SLO and on-call dashboards that show whether a service meets its reliability targets.
- IoT and industrial telemetry, with time-series databases such as InfluxDB collecting sensor data.
- Business and operational metrics read directly from SQL databases, such as orders per minute or queue lengths.
The combination of Loki for logs, Grafana, Tempo for traces and Mimir for metrics is often called the LGTM stack, Grafana Labs' open-source answer to all-in-one commercial platforms.
When to choose Grafana, and when not to
Choose Grafana when:
- Your telemetry lives in several systems and you want one place to look at all of it.
- You run, or plan to run, Prometheus and want the standard way to visualise and alert on it.
- You prefer open standards and open-source tools you can self-host, with the option of a managed service later.
- You want dashboards and alerts stored as code next to the rest of your infrastructure.
Look elsewhere when:
- You want a single product that also collects, stores and correlates the data for you without running anything. A SaaS platform such as Datadog does more of the work out of the box.
- The audience is business users exploring data rather than engineers watching systems. BI tools such as Metabase, Apache Superset or Power BI are better at ad-hoc analysis and reporting.
- Nobody will own the stack. Self-hosted Grafana is easy; the Prometheus, Loki and Tempo behind it need capacity planning, retention and upgrades.
Grafana and its alternatives
| Tool | Focus | Data storage | Best fit |
|---|---|---|---|
| Grafana | Visualisation and alerting across many sources | None, queries other systems | Mixed telemetry, open-source stacks |
| Kibana | Search and dashboards for Elasticsearch | Elasticsearch | Log-heavy setups built on Elastic |
| Datadog | All-in-one SaaS observability | Datadog's cloud | Teams that want no monitoring infrastructure |
| Splunk | Log analytics, SIEM and observability | Splunk indexes | Large security and log analytics programmes |
| Metabase / Superset | Business intelligence | None, queries databases | Business reporting and data exploration |
Grafana vs Kibana is the classic comparison. Kibana is tightly bound to Elasticsearch and excels at searching and analysing logs stored there; Grafana is source-agnostic and stronger for time-series metrics across many backends. Grafana vs Datadog is a choice between assembling an open stack you control and buying a managed platform that collects, stores and correlates data for you. Many teams instrument with OpenTelemetry so they can move between the two.
How we use Grafana at Internative
We use Grafana to build clear, real-time observability dashboards for complex systems. They help us and our clients understand how a system behaves, notice problems early and make operational decisions based on data.
If you want monitoring that someone actually watches, our application maintenance and monitoring team can design the dashboards and alerts, and our DevOps services team can set up the stack behind them.
Frequently asked questions
What is Grafana used for?
Grafana is used to build dashboards and alerts on top of monitoring data. Teams use it to watch infrastructure, Kubernetes clusters and applications, to follow request rates, errors and latency, and to investigate incidents by moving between metrics, logs and traces from different data sources.
Is Grafana free?
The open-source edition of Grafana is free to use and self-host under the AGPLv3 licence. Grafana Labs also sells Grafana Enterprise and Grafana Cloud; Grafana Cloud has a free tier with usage limits, and paid plans for larger volumes and support.
What is the difference between Prometheus and Grafana?
Prometheus collects and stores metrics: it scrapes targets, keeps the data in its time-series database and evaluates alert rules. Grafana stores no metrics; it queries Prometheus, and other sources, to draw dashboards and send alerts. They are usually used together.
Is Grafana difficult to learn?
Building a first dashboard takes minutes, especially with community dashboards for common systems. The learning curve is in the query languages, such as PromQL or LogQL, and in designing dashboards and alerts that stay useful rather than noisy.
What is the difference between Splunk and Grafana?
Splunk is a data platform that ingests, indexes and stores logs and events, with strong search and security analytics. Grafana is a visualisation and alerting layer that queries data stored elsewhere. Grafana can even use Splunk as a data source.
Related services
Where this topic becomes an engagement.
Keep reading
The articles that follow this one.



