Worked review of a checkout objective
A fictional team asks whether its API dashboard proves that 99.9% of shoppers see a checkout result within five seconds. Its dashboard counts successful HTTP responses among requests reaching the checkout handler. The team has supplied neither client events nor a latency distribution.
Finding. The dashboard measures handler responses. A checkout click followed by a connection failure contributes zero to both counts. A server response that arrives after five seconds can count as successful. Either case can leave the dashboard green during customer impact.
Candidate objective. Over a rolling 28-day window, at least 99.9% of eligible checkout submissions display an accurate order confirmation or an actionable, expected payment decline within five seconds of submission. This assumes the owner values a timely, correct decision. If the goal is completed purchases, revisit the handling of declines. Both the threshold and the target are illustrative.
Measurement design. Assign one attempt ID at user submission and carry it through automatic retries. Count each eligible start once. Count it as good once when the corresponding visible outcome meets the definition. A second intentional submission constitutes a new attempt. Use event timestamps and a single duration clock where possible. A decline caused by an unavailable payment provider is a service failure.
Coverage check. A healthy collector can record a start with no timely outcome, which misses the objective. An outage of the collector itself makes the affected counts uncertain. Compare client starts with independent edge or synthetic observations to diagnose gaps. A synthetic probe covers its own scripted path and cannot establish the exact number of affected shoppers.
Budget check. With 20,000 eligible attempts and a target of 99.9%, the budget is 20 bad attempts. With 21 bad attempts, attainment is 19,979 / 20,000 = 99.895%, below target. Evaluate before rounding. Turning the 20 attempts into minutes would require additional traffic assumptions.
Review outcome. The dashboard can support a narrower handler objective once its filters are verified. To adopt the checkout objective, confirm the treatment of declines, check whether the event pair exists, and compare a baseline and a known customer-impacting incident against the proposed threshold.
Reconcile a query with attempts
Suppose this dashboard reads one row per HTTP response. For this fictional sample the table contains only checkout traffic in the evaluation window.
SELECT SUM(CASE WHEN status BETWEEN 200 AND 299 THEN 1 ELSE 0 END) AS good,
COUNT(*) AS total
FROM handler_responses;The following observations come from a separate client trace. The objective counts each intentional submission once and requires a correct visible result within five seconds.
| Attempt | Handler responses | What the shopper saw | Dashboard good / total | Objective good / total |
|---|---|---|---|---|
| A | 200 | Confirmation after 2 seconds | 1 / 1 | 1 / 1 |
| B | None | Connection failure | 0 / 0 | 0 / 1 |
| C | 503, then 200 on automatic retry | Confirmation after 4 seconds | 1 / 2 | 1 / 1 |
| D | 200 | Confirmation after 8 seconds | 1 / 1 | 0 / 1 |
The dashboard gives 3/4 and the objective gives 2/4. Their totals agree only because the extra response for C offsets the missing submission B. Changing the HTTP success filter cannot recover B. Start from the submission population, correlate visible outcomes by attempt ID, and check the deadline. Pilot that measurement against an independently captured checkout trace before using it to judge attainment.