Grafana for Prometheus and Grafanas
Grafana is the visualisation layer of the stack. It connects to data sources such as Prometheus, runs queries per panel and arranges panels into dashboards with variables and time ranges. Grafana can also define alert rules and send notifications through contact points.
Stage: Grafana and Scale · Part of the Prometheus and Grafana roadmap · Last reviewed 19 November 2026
What to learn in Grafana
- Add Prometheus as a data source in Grafana
- Build a time series panel from a PromQL query
- Create dashboard variables to switch between hosts or services
- Import a community dashboard and adapt it
- Configure a Grafana alert rule with a contact point
Grafana interview questions
What is a dashboard variable in Grafana?
A variable is a dropdown or text input whose value is substituted into panel queries, such as an instance label. One dashboard can then serve many hosts or services, and values can be fetched live from Prometheus label queries.
Should alerts be defined in Prometheus or Grafana?
Both work. Prometheus rules are version controlled files evaluated by the server and routed through Alertmanager. Grafana alerting is convenient when mixing data sources and managing alerts in the UI. Many teams keep critical rules in code.
Where Grafana fits in the Prometheus and Grafana roadmap
Grafana belongs to the Grafana and Scale stage (advanced level). Visualise and grow.
Other units in this stage
Back to the full Prometheus and Grafana roadmap