Guardrail metrics
Metrics that must not get worse while you optimize something else.
Guardrails protect things like performance, support load or revenue while a team pushes on its main goal. They catch improvements that quietly cause damage elsewhere. Every important goal deserves at least one guardrail beside it.
Why it matters for a product engineer
When a team pushes hard on one number, something else often gets worse quietly: speed, support load, refunds, trust. Guardrail metrics are the numbers that must not get worse while you improve the main one. For engineers they often include the health of the system itself, such as errors and load time.
How to do it
- For each goal, ask what a bad way to reach it would look like. Each answer suggests a guardrail.
- Pick a few metrics that matter to the whole product: revenue, a user-experience metric such as page speed or ratings, and a current strategic priority.
- Decide the threshold before the work starts: how much worse is acceptable, and over what period.
- Add the guardrails to every experiment and every dashboard for the goal.
- When one is crossed, stop and decide with the people who own that metric. Do not just continue.
- Keep the list short. Each extra guardrail raises the chance of a false alarm.
Common mistakes
- Guardrails chosen after the results, to explain them away.
- So many guardrails that one always looks red.
- No threshold, so every small dip starts a debate.
- Guardrails nobody owns.
- Forgetting the slow effects, such as churn, which show up weeks later.
Example
A team at Airbnb that worked on bookings tested hiding the house rules at checkout. Bookings went up, but review ratings, one of the guardrails, went down. At Airbnb a crossed guardrail goes to a group of people who decide whether the test continues. Out of thousands of experiments a month, about 25 trigger a review; most still roll out, and about 5 are paused.
Airbnb's guardrails, in a typical month
- ~25
- Experiments sent for review
- Out of thousands
- 80%
- Roll out after the discussion
- ~5
- Paused
- Each one a possible major harm avoided
Guardrails rarely stop a test. When they do, they stop the few that would have hurt the product.
ReportedPostHog, 'Guardrail metrics for A/B tests, explained', describing Airbnb's process
Sources: Guardrail metrics for A/B tests, explained (PostHog) ↗
Resources
1- articleStart here
Guardrail metrics for A/B tests, explained ↗
PostHog · 5 minWritten for product engineers. What guardrail metrics are, which ones to pick, and how companies such as Airbnb use them.