Product & innovation · Product strategy & innovation
Performance monitoring framework
Best for Startup to Scale
Use it when
Users report slowness or outages before your team notices, and you need agreed signals, dashboards and alerts that show when the product is unhealthy.
Skip it when
- You need to know which features people use and how often. Use Usage monitoring framework instead.
- You want to understand user behavior and journeys inside the product. Use Product analytics framework.
- You are tracking API calls and endpoints for a developer product. Use API usage metrics, which builds on this framework.
What to apply first and what to use instead are listed below.
Approaches
Four golden signals
Track latency, traffic, errors and saturation for each user-facing system.
- Pro It covers both what users feel and how close the system is to its limits.
- Con Saturation is hard to define for some systems and takes tuning.
RED per service
Track request rate, error rate and duration for every service, laid out the same way on every dashboard.
- Pro Every service looks alike, so anyone on call can read a dashboard they did not build.
- Con It leaves out resource limits, so you need a second view for capacity.
USE per resource
Track utilization, saturation and errors for each machine resource such as CPU, memory, disk and network.
- Pro It finds the resource behind a slowdown quickly.
- Con It shows machine health and says little about what users experience.
Inputs
- Critical user actionsThe five to ten actions users depend on most, such as sign in, search and checkout, from product and support.
- Service mapThe services and dependencies behind each action, from engineering.
- Current telemetryWhat request logs, load balancer metrics and probes already exist, and at what resolution.
- On-call setupWho gets paged, through which tool, and in what hours, from the engineering lead.
- Reliability targetsOptionalAgreed latency and availability targets per action, if you have them.
Steps
- List the critical user actions and the services behind each one.
- Choose the signals to collect for each service, using one of the approaches above, and record latency as a distribution with percentiles.
- Build one dashboard per service with the same layout, plus a black-box probe that checks each critical action from outside.
- Write alert rules on user-visible symptoms such as error rate and slow percentiles, and send cause-level signals to dashboards only.
- Check each paging rule against three tests. It must be urgent, actionable and visible to users, or it moves to a ticket or dashboard.
- Review pages and incidents each month and remove or fix alerts that fired without needing action.
Output
A monitoring spec with dashboards and alert rules for each critical user action.
- Critical user action
- Services behind it
- Signals collected and their resolution
- Latency percentiles tracked
- Alert rule and threshold
- Paging or ticket route
- Owner
- Last review date
Done when
- Every critical user action has a black-box check and a dashboard.
- Latency is shown as percentiles and never only as an average.
- Every paging rule is tied to a user-visible symptom and has a named owner.
- A review of pages from the last month is on record, with noisy alerts fixed or removed.
Measure
Track pages per on-call week, the share of pages that needed action, and time from a user-visible problem to the first alert. Compare a full quarter before and after the spec goes live. It worked when users stop reporting problems first and the share of actionable pages rises against your own baseline.
Hypothetical example
Copperline runs a booking app. Its team chose checkout, search and sign in as critical actions and mapped six services behind them. It used RED dashboards for each service, added a probe that ran a test checkout every minute, and paged on checkout errors and slow 99th percentile latency. CPU and queue alerts moved to the dashboard. After a month, two alerts that had fired without action were removed.
Common mistakes
- Watching average latency only. Track the 95th and 99th percentiles, where slow requests show up.
- Paging on causes such as high CPU. Page on what users feel and keep causes on the dashboard for debugging.
- Using a different layout for every service. Keep one layout so anyone on call can read any dashboard.
Sources
- Site Reliability Engineering, chapter 6: Monitoring distributed systems · Rob Ewaschuk, edited by Betsy Beyer and others, 2016
- The RED method: how to instrument your services · Julie Dam, 2018
By company stage
Apply first
Nothing. You can start here.
Use instead
- Usage monitoring framework
You need to know which features people use and how often. Use Usage monitoring framework instead.
- Product analytics framework
You want to understand user behavior and journeys inside the product. Use Product analytics framework.
- API usage metrics
You are tracking API calls and endpoints for a developer product. Use API usage metrics, which builds on this framework.
Where it sits
Open the product strategy & innovation roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account