Video in progress

What should a dashboard look like for an on-call engineer during an incident? What mistakes do many teams make?

A good dashboard answers the questions from top to bottom: is there user impact, in which service or dependency, and since when. The typical mistake is an "everything in one place" dashboard with 60 panels, where the signal you need gets lost in the noise.

📖 Answer

A person woken up at three in the morning by an alert is not ready to analyze graphs. The dashboard has to answer three questions for them in 30 seconds.

The structure I use:

  1. At the very top, the SLO state: availability and latency SLIs, remaining error budget, burn rate. "Is it serious?" at a glance.
  2. The second row, RED per service and for the main endpoints, on one time axis, with deploys and feature flag changes as annotations.
  3. The third row, dependencies: latency and errors for the DB, cache, broker and external APIs. The answer is often here.
  4. At the bottom, collapsed, resources: JVM, pools, nodes. It opens when needed.

Common mistakes:

  • Average latency: you can have an average of 120 ms and a p99 of 4 s, and the average hides the problem.
  • Absolute error counts: "200 errors" is a lot or a little depending on traffic; show the ratio.
  • A different time range or different units on every panel: you can't compare them.
  • A dashboard without variables: copied dashboards for each service drift apart over time; one template with $service and $env variables is better.
  • No links from the dashboard to traces and logs: going straight from a graph to the error logs for that time range and to exemplar traces saves a lot of time.

Dashboards should also be stored as code (Grafana provisioning, Jsonnet or Terraform), otherwise a panel that someone changed "temporarily" during an incident stays forever.