10.1.4 · Skill in Product observability

Dashboards

Shared views of the metrics that matter.

A good dashboard answers a specific question at a glance, such as whether the service is healthy. Too many dashboards mean nobody looks at any of them. Product and system metrics side by side help connect cause and effect.

Your status · Dashboards

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

Why it matters for a product engineer

A dashboard is useful when it answers one question fast: is the service healthy, did the release work, are users completing the main task? Teams often build many dashboards, and then nobody knows which one to open during an incident. Product engineers can put product metrics next to system metrics, so a fall in signups and a rise in errors appear on the same screen.

How to do it

  1. Write the question the dashboard answers in its title or first line.
  2. Put the most important graphs at the top: what customers experience, such as availability and latency.
  3. Show the time zone, use the same time range on every graph, and avoid horizontal scrolling.
  4. Link each high-level graph to the more detailed dashboard behind it.
  5. Use alarms to detect problems, and dashboards to investigate them. Review dashboards in a regular meeting, and delete the ones nobody uses.

Common mistakes

  • Dashboards that only engineers can read, with no product metrics.
  • One huge dashboard with every metric the service emits.
  • Graphs with different time ranges or time zones on the same screen.
  • Expecting people to notice problems by watching dashboards.

Example

Amazon explains how it builds dashboards in its Builders’ Library. The most important dashboards show customer experience, with overall availability and end-to-end latency at the top. Graphs fit the smallest expected screen, because an on-call engineer on a laptop at 3 AM may not see a horizontal scroll bar. Shared dashboards default to UTC. Amazon also notes that most of the time nobody watches dashboards, so automated alarms detect problems, and dashboards help find the cause.

Flow

How Amazon moves from an alarm to the cause

AlarmAutomated, alwaysonCustomer viewAvailability,latency, on topService viewEach API, eachRegionComponentsEach microserviceAlarmAutomated, always onCustomer viewAvailability, latency, on topService viewEach API, each RegionComponentsEach microservice

Nobody watches dashboards all the time, so alarms start the search. The dashboards then lead from what customers see to the part at fault.

ReportedAmazon Builders' Library, Building dashboards for operational visibility

Sources: Building dashboards for operational visibility (Amazon Builders' Library) ↗ · Monitoring (The Site Reliability Workbook, chapter 4, Google) ↗

Resources

1

Tools

1
  • ToolOpen source
    Grafana

    Open-source dashboards for metrics, logs and traces from almost any data source.