Skip to content
AE DIGITAL
Digital SystemsBy 6 min read

Ecommerce SLOs: measure checkout and orders with error budgets and burn-rate alerts

An operational method for defining checkout SLIs and SLOs, using error budgets in decisions and building actionable multi-window burn-rate alerts.

Connected industrial chambers move luminous parcels through a central reserve representing ecommerce reliability

Ecommerce reliability should be measured from the customer journey

Infrastructure can appear available while a customer cannot complete a purchase. The page responds, but the price is stale; payment is authorised, but the order is not persisted; confirmation is displayed, but fulfilment never receives the event. A service level objective, or SLO, turns these outcomes into an explicit shared target. It does not merely ask whether a server is running. It states which experience should succeed, how often, and over which window.

Google SRE describes SLOs as reliability targets that support data-informed decisions. For ecommerce, the starting point is not an attractive percentage but the journeys that create value: opening checkout, authorising payment, creating the order, updating inventory and confirming the result. An SLO becomes useful when product, engineering and operations agree on both the target and the action to take when reliability deteriorates.

Separate SLIs, SLOs and SLAs

Move from an observed signal to an operational objective

An SLI is the measured indicator; an SLO is its target level. An SLA is an agreement with a customer or counterparty and may attach contractual consequences. Mixing them produces dashboards without decisions or external promises based on incomplete technical measurements. Start by documenting the SLI specification, its implementation, data source, owner, threshold, evaluation window and expected response to a breach.

Google commonly frames an SLI as good events divided by total events. In checkout, a good event might be a valid session that reaches a confirmed order within a threshold, without duplication and with a consistent amount. The denominator must represent real opportunities, not only requests reaching the easiest service to measure. If a CDN failure prevents traffic from reaching the backend, server-only telemetry can miss the failure customers actually experience.

Choose a small set of commerce-oriented SLIs

Availability, latency, correctness and freshness

A starter set should remain small while covering critical functions. Availability measures the proportion of valid attempts completing the intended stage. Latency measures the proportion finishing within a threshold, not the average. Correctness checks that payment, total, currency and order agree. Freshness verifies that price, promotion and inventory used by checkout are not older than the accepted limit. Order-pipeline coverage measures whether records reach downstream systems in time.

Define exclusions before viewing results. Synthetic traffic, clearly abusive requests, voluntary cancellations and legitimate issuer declines do not have the same meaning as application errors. Exclusions must be narrow, versioned and auditable. Removing everything that worsens the percentage makes an SLO comforting but useless. Segment by country, payment method or channel only when each segment has enough volume for a stable interpretation.

Build metrics that represent the whole journey

OpenTelemetry specifies conventions for HTTP metrics such as request duration and related attributes. These signals provide a consistent foundation but cannot describe an order by themselves. Add business events with correlation identifiers, normalised states and outcomes, without placing payment data or personal information in labels. Connect frontend, APIs, providers and queues through one logical journey while keeping operational metric cardinality controlled.

Use histograms with buckets aligned to customer-relevant latency thresholds. Prometheus documentation explains how histograms can be aggregated and queried to estimate quantiles or directly calculate the share below a threshold. Averages hide the long tail: many fast responses can offset a few delays that make checkout unusable. Keep rich detail in traces and logs while metrics remain economical and aggregatable.

Turn the SLO into an error budget

A finite reserve for balancing velocity and risk

The error budget is the portion of non-good events compatible with the target. When the SLO is a percentage, the budget derives from the distance to 100% and the observed volume in the evaluation window. It is not permission to create failures, nor does it imply that every failure has equal impact. Its purpose is to make explicit how much risk the journey can absorb before reliability and release velocity need rebalancing.

Attach an approved policy to the budget. When consumption is normal, teams can continue controlled rollouts. When it accelerates, they may reduce exposure, stop a change or fund resilience work. When the budget is exhausted, the response depends on context and policy rather than a universal automatic formula. Define owners, exceptions, duration and recovery criteria before an incident.

Use burn rate to detect dangerous consumption

Fast and slow alerts against the same reserve

Burn rate describes how quickly the error budget is being consumed relative to the sustainable rate. A very high spike can exhaust the reserve quickly and needs a fast signal; moderate continuous consumption requires a longer window. Google SRE presents multi-window, multi-burn-rate alerting to combine responsiveness with stability. Concrete thresholds depend on the objective, window, traffic and response capacity.

Separate paging from ticketing. A page should represent an urgent, actionable threat to the journey rather than one failed request. A ticket can capture slow consumption, regressions or reliability debt. At low traffic, a handful of events can create unstable percentages: require a minimum volume, use suitable windows and add synthetic checks. Do not automatically silence alerts overnight when orders are still arriving.

Connect alerts, runbooks and ecommerce operations

Every alert should identify the affected SLO, burn rate, remaining budget, segment, recent changes and runbook. The runbook guides a short diagnosis across rollout, payment provider, queues, database, price cache and inventory. Traces help locate the cause, while the SLO sets priority according to user impact. Assign a decision owner who can stop a release or activate an explicitly designed degraded mode.

Test alerts with controlled failure exercises and safe replays. Confirm that payment without order persistence consumes the right budget, that a legitimate decline does not, and that a growing queue surfaces before confirmations disappear. Check duplicate notifications, escalation and recovery. An alert that fires repeatedly without requiring action becomes noise and reduces trust in the system.

Review objectives without chasing a perfect number

An initial SLO is an operational hypothesis. Revisit it after incidents, traffic shifts, new payment methods and architectural changes. Compare the metric with support tickets, incomplete orders and observed customer behaviour. Do not raise the target merely because current service exceeds it, and do not lower it to hide a regression. Change specification, implementation or threshold through a documented decision with an effective date.

Mature governance makes the journey, objective, budget, owners and actions visible. Explore our ecommerce systems services to design SLIs, telemetry and runbooks around checkout and orders. To turn fragmented monitoring into dependable decisions, contact AE Digital Agency and build a measurable roadmap.

Frequently asked questions

What is the difference between an SLI, SLO and SLA in ecommerce?

An SLI is the observed measure, an SLO is its internal target, and an SLA is an external agreement that may include contractual consequences.

What should a checkout SLO measure?

It should measure the customer outcome: completion, latency within a threshold, payment-to-order correctness, and fresh price and inventory data.

How is an SLO error budget calculated?

It is the share of non-good events allowed by the target over the chosen window, applied to observed volume and governed by an agreed policy.

Why use burn-rate alerts instead of a fixed threshold?

Burn rate shows the speed of budget consumption. Fast and slow windows distinguish urgent incidents from persistent regressions while reducing noise.

Sources

  1. Implementing SLOs — Google Site Reliability Engineering
  2. Alerting on SLOs — Google Site Reliability Engineering
  3. Semantic conventions for HTTP metrics — OpenTelemetry
  4. Histograms and summaries — Prometheus

Related articles

Tell us what isn't working.

We reply within one business day with a first opinion and, if it makes sense, a quote.

Write to us