Use it when building or reviewing dashboards.
Dashboard Design
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.
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.
question → panels → drill-down → action
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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.
Top row answers "is it healthy?". Avoid dozens of panels. Use rates and percentiles, not averages alone. Keep dashboards in version control.
curl -s http://grafana/api/dashboards/uid/<uid>— first check for this topiccurl -s localhost:9090/-/ready— Prometheus readycurl -s 'localhost:9090/api/v1/query?query=up'— scrape targets up/downpromtool 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
| Rule | Why |
|---|---|
| Units set on every panel (seconds, bytes, req/s, percent) | Avoids misreading 0.3 as 0.3 ms |
| Thresholds that match alert thresholds | The graph shows the same red line that pages |
| Percentiles and rate, not raw counters | Raw counters only go up |
| Same time range and interval across panels | Spikes line up vertically |
| Deploy and incident annotations on | "What changed?" answered on the graph |
| Descriptions on non-obvious panels | Someone 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.
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
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.