Skip to content
IT glossary
DevOps and cloudUpdated December 3, 2026

Grafana

Grafana is a tool for building dashboards that show how systems are behaving. It queries connected data sources to display things like request traffic, errors, and logs, and it can send notifications when configured conditions are met.

Also known as: дашборды Grafana

What Grafana does

Grafana gives a team a shared view of a running system. A dashboard is a saved page of panels: one might plot response times, another might show request volume, and a third might list recent errors. Viewing those panels over the same time range helps answer a practical question: did errors increase because traffic went up, or did something change while traffic stayed flat?

How dashboards get their data

A data source is a configured connection to a system that Grafana can query. A common setup uses Prometheus for metrics, Loki for logs, and Tempo for traces. Grafana can also query databases such as PostgreSQL. The query language belongs to the source: a Prometheus panel uses PromQL, while a PostgreSQL panel uses SQL.

A panel defines what to query and how to display the result. Changing the dashboard's time range or refreshing the page reruns queries for the selected interval. Dashboard variables let readers choose a service, cluster, or environment from a dropdown instead of maintaining separate copies of the same dashboard. Grafana saves the dashboard configuration; the queried systems normally hold the telemetry history.

Example: tracking server errors

Suppose Prometheus collects an http_requests_total counter with service and status labels. To graph the checkout service's 5xx responses per second, use this PromQL query in a Grafana panel:

sum(rate(http_requests_total{service="checkout", status=~"5.."}[5m]))

At each point on the graph, rate estimates how fast each matching counter increased over the previous five minutes. sum adds those rates across the matching series. This graph shows error volume per second, not the percentage of requests that failed. To calculate that percentage, divide by the total request rate for the same service and multiply by 100. The distinction matters: error volume can rise during a traffic spike even if the failure percentage stays the same.

Common pitfalls

A dashboard is useful for investigating an incident, but a panel on its own does not notify anyone. With Grafana Alerting, you configure a rule and route its notifications to a destination. Grafana evaluates the rule even when no one has the dashboard open.

An empty chart is not evidence that there were zero errors. The source might be unreachable, the selected time range might have no samples, or a filter might exclude every series. Check the panel's query and filters before drawing conclusions.

What comes up in interviews

A common DevOps interview question is to describe the path from an application metric to a chart. In a typical setup, the application exposes a counter, Prometheus scrapes and stores samples, and Grafana queries Prometheus and plots the result. Be ready to explain why you would graph requests per second instead of the raw counter: the counter is a running total that can reset when a process restarts, while the rate shows how busy the service was during a given window.