Pcornel
Browse topics
Options
Recent
Favorites
Observability · Technical reference

Dashboard Design

Direct 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.

When to use this

Use it when building or reviewing dashboards.

First 30 seconds

1. Dashboard JSON exported/provisioned: curl -s http://grafana/api/dashboards/uid/<uid>.

2. Top row = golden signals.

3. Units and thresholds set.

4. Variables work.

5. Links to logs/traces/runbooks.

Operational verification

question → panels → drill-down → action

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
OpenTelemetry / Prometheus / Grafana / common metrics-log-trace pipelines
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformOpenTelemetry / Prometheus / Grafana / common metrics-log-trace pipelines
Scope / prerequisiteUse it when building or reviewing dashboards.
What next?2 suggested next steps
Evidence0
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 How to verify Verify boundary

Ask someone unfamiliar with the service to find the cause of a past incident using the dashboard. Remove panels nobody uses.

Step 2 Common failures Narrow the fault

Dashboards with dozens of panels load slowly and hide signals. Hard-coded instance names break when hosts change. Missing units make values ambiguous.

Key points

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

Key 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
ReferenceWhat it is1 section · depth on demand

How it works

Variables are queried from the data source and substituted into panel queries. Links and data links carry variables and time range to other dashboards or to Explore.

ReferenceImportant terms & boundaries3 sections · depth on demand

Dashboard guidelines

  • Top row: service health (SLO, error rate, latency, traffic).
  • Then saturation and dependencies; details further down or in linked dashboards.
  • Use variables ($namespace, $service) instead of copies per service.
  • Consistent units, thresholds and colours; show percentiles, not averages, for latency.
  • Link to logs, traces and runbooks.
  • Store dashboards as code (Grafana provisioning, Grafonnet, Terraform).

In depth

Design for a question, read top-left to bottom-right

1. Row 1 — Is the service healthy? SLO status, request rate, error ratio, p95/p99 latency. Four or five panels, readable in two seconds.

2. Row 2 — Is it us or a dependency? Saturation (CPU, memory, pool use), dependency latency and errors.

3. Row 3+ — Detail, collapsed by default: per-instance, per-route, GC, queues.

Panel rules

RuleWhy
Units set on every panel (seconds, bytes, req/s, percent)Avoids misreading 0.3 as 0.3 ms
Thresholds that match alert thresholdsThe graph shows the same red line that pages
Percentiles and rate, not raw countersRaw counters only go up
Same time range and interval across panelsSpikes line up vertically
Deploy and incident annotations on"What changed?" answered on the graph
Descriptions on non-obvious panelsSomeone new can use it at 3 a.m.

Variables and links

Template variables ($cluster, $namespace, $service) make one dashboard serve every service; chained variables filter each other. Data links on a panel (for example from a latency spike to the traces view, or from a service to its logs with the same time range) turn the dashboard into the start of an investigation instead of a dead end.

Dashboards as code

Store dashboards as JSON (or generated with Jsonnet/Grafonnet, Terraform or the Grafana Operator) in Git, provision them, and review changes like code. Hand-edited production dashboards drift, get duplicated ("copy of copy of Checkout") and cannot be restored after an accidental change.

A test of a dashboard

Give it to someone who does not know the service, show them a past incident's time range, and see whether they can say where the problem was. Remove panels nobody looks at; Grafana's usage insights (where available) show which dashboards and panels are viewed.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Common mistakes

  • Dashboards with too many panels and no question to answer.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
dashboard designgrafana dashboard designgrafana variables
Confirmation

Confirm action

Continue?