Learn Labs
Grafana

Dashboard Design

Golden signals first, drill-down, and avoiding wall-of-graphs

A dashboard is read at the worst possible moment: during an incident, by someone tired, often not the person who built it. Good design is the difference between finding the problem in 10 seconds and scrolling through 80 graphs.

Start with the question

Every dashboard should answer one clear question. Write it in the dashboard description:

  • "Is the checkout service healthy for its users right now?" → a service dashboard: RED, SLO status, dependencies.
  • "Which of our 40 services is unhealthy?" → an overview: one row per service, error ratio and latency only, linking to service dashboards.
  • "Why is this Postgres slow?" → a component dashboard: USE signals, connections, locks, cache hits.

A dashboard that tries to answer all three answers none of them.

Layout: top to bottom, general to specific

The Demo App · RED dashboard follows the standard shape:

  1. Top row: headline stats. Rate, error ratio, p99, saturation. Coloured by threshold. A glance tells you whether to keep reading.
  2. Golden signals over time. The same four, as graphs, so you can see when something changed.
  3. Breakdowns. By route, status, instance. Where is it happening?
  4. Deep detail. Heatmaps, SLO burn rates, version info. Why and how bad?

Collapse rarely-needed rows by default. Put the panels that tell you whether to worry above the fold.

The hierarchy of dashboards

Overview          one row per service: error ratio, p99, SLO status
└─ Service      RED for one service, by route, by instance, dependencies
     └─ Component    the database / cache / queue that service uses (USE)
          └─ Explore      ad-hoc queries during the incident

Link each level to the next with data links that carry the time range and the selected label, as covered in Variables & Templating.

Rules that make dashboards readable

Every panel has a unit. "0.023" is a puzzle. "23 ms" is information.

Every panel has a description. The (i) tooltip should say what the panel shows and what "bad" looks like. The RED dashboard's error panel says the SLO budget is 0.5%.

Consistent colours mean something. Errors are red everywhere. Don't let the palette assign red to your healthiest series.

Y axes start at zero for rates and counts. A graph that auto-scales from 99.1 to 99.3 makes a 0.1% wobble look like a cliff. For ratios, fix min 0 and max 1.

Fewer series per panel. More than about 7 lines and nobody can read it. Aggregate (sum by (route) not by (instance, route, status, method)), or use topk, or a table.

Same time range, same step. Mixing a [1h] panel with [1m] panels on one dashboard makes events appear at different times on different graphs.

Annotate deploys. Grafana annotations draw a vertical line at an event. Annotate from a query, such as changes(app_build_info[1m]) > 0, or push annotations from your CD pipeline via the API. Half of all incidents start with a deploy.

SLO-first dashboards

The most useful service dashboard leads with the SLO: how much of the error budget is left this month, and how fast it's burning. The RED dashboard's Error budget burn rate panel shows burn rates for 5m, 1h, and 6h windows against threshold lines at 6 and 14.4. When a line crosses one, the corresponding alert fires. You'll build those alerts in SLOs & Burn-Rate Alerts.

Performance

Slow dashboards don't get used. Keep them fast:

  • Use recording rules for any expression that appears on popular dashboards, especially histogram_quantile over many series.
  • Default the time range to something short (the last 30 minutes or 1 hour); viewers can widen it.
  • Avoid "All" on high-cardinality variables.
  • Set a sensible auto-refresh (10s to 1m), or none. 5-second refresh with 20 panels for 30 viewers is 120 queries per second.
  • Use the panel's Query inspector to see each query's time and returned data.

Review checklist

Before you call a dashboard done:

  1. Does it have a one-sentence purpose in its description?
  2. Can someone new tell healthy from unhealthy in 10 seconds?
  3. Does every panel have a unit and a description?
  4. Is it under about 20 panels, with rarely used rows collapsed?
  5. Does it load in under 3 seconds over a 24-hour range?
  6. Are links in place to drill down and back up?
  7. Is it committed to the repo?

Lab

Critique the provisioned Stack Health dashboard against the checklist. Then fix two things: add descriptions to the panels that lack them, and add a deploy annotation to Demo App · RED using changes(app_build_info{job="demo-app"}[1m]) > 0. Export both and commit.

On this page