Skip to the page

Monitoring & on-call · Design

What to alert on for a checkout page

The interviewer asks

You own the checkout page of an e-commerce site. You get to set up alerts that can wake someone up at night. What would you alert on, and what would you only put on a dashboard?

Then

Follow-ups the interviewer asks next

  1. Which signals tell you that users can't pay, and how do you measure them from the browser?
  2. What thresholds would you start with?
  3. How do you avoid a 3am page for a two-minute blip?
  4. Night traffic is 50 times lower than day traffic. How does that change your alerts?
  5. During the festive sale, traffic is ten times normal. Do your alerts still work?
  6. What goes in the runbook for each alert?
  7. How do you know your alerts actually work?
  8. Who should get paged, and who just gets a message?
  9. What have you set up alerts for before?

The answer

What a strong answer covers

  • Pages on what users feel, not on causes: checkout success rate (orders divided by checkout attempts), payment-start failure rate, JS error rate on checkout routes, API errors and timeouts seen by the client, and a synthetic test of the payment path failing from two locations.
  • Dashboard or ticket only: Web Vitals (LCP, INP, CLS at p75), bundle size, slow but working APIs, and errors in one browser that affect a small share.
  • Uses SLO burn rates: for example a 99.5% checkout success SLO, paging on a fast burn (about 14 times the normal rate over 1 hour, confirmed over 5 minutes) and opening a ticket on a slow burn, as in the Google SRE Workbook.
  • Low traffic: ratios with a minimum number of events, longer windows, or synthetic checks at night.
  • Sale days: ratios or comparison with the same hour last week, never fixed counts; an alert review before the sale.
  • Every alert has an owner, a runbook, a dashboard link and a first action (roll back, turn a flag off, switch payment provider).
  • Tests alerts: fire drills and failure tests in staging, and tracks precision (alerts that mattered) and recall (incidents the alerts caught).

The red pen

Common traps

Avoid:alerting on CPU or on every JS error; fixed counts that break on sale days; alerts with no runbook.

Practise this out loud

Say your answer out loud to an AI interviewer that follows up, and get a score for it.

Practise by voice

Practise questions like this out loud

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview