Pcornel
Observability · Grafana

Dashboard Design

Cheat sheet · https://pcornel.dk/topic.php?topic=6219

Back to the Topic

Answer

Dashboard design: put the key service questions first (golden signals), consistent units and time ranges, variables for environment/service, and links to drill-down dashboards and runbooks.

Remember

Top row answers "is it healthy?". Avoid dozens of panels. Use rates and percentiles, not averages alone. Keep dashboards in version control.

First checks

  • curl -s http://grafana/api/dashboards/uid/<uid> — first check for this topic
  • curl -s localhost:9090/-/ready — Prometheus ready
  • curl -s 'localhost:9090/api/v1/query?query=up' — scrape targets up/down
  • promtool check config prometheus.yml — config valid

Verify in this order

question → panels → drill-down → action

Where it usually breaks

Dashboards with dozens of panels load slowly and hide signals.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6219

Confirmation

Confirm action

Continue?