Production monitoring

What to monitor in an online shop: journeys, thresholds and alerts

Once it is clear that you need to monitor the purchase journey rather than whether the server is running, a practical question remains: exactly what should you monitor, how often, and at what value should an alert be sent? A checklist helps you configure timely alerts without unnecessary noise.

A common problem: monitoring checks only part of the purchase

The home page may be available even though search returns no results, the basket calculates the wrong total or the payment gateway fails to complete the order. If monitoring checks only the server response, the team often learns about such an error only from a customer.

The check should therefore reproduce the customer’s full journey and verify the expected outcome at every step. Set the scope and frequency according to the business impact, increasing the likelihood that the team discovers a critical problem sooner without allowing a less important fluctuation to create unnecessary noise.

Which journeys to monitor by business impact

Monitoring should reproduce the customer’s journey. At regular intervals, a real browser follows it step by step. At each stage, it verifies not only the response status but also whether the expected elements are available on the page and can be used:

Which threshold should trigger an alert

A simple “passed/failed” result is not enough. An online shop may work slowly enough that a customer abandons the purchase. Each step therefore needs a threshold:

How often and where to send alerts

Define a specific correct result for each step

Choose a stable test product whose name, availability and price are controlled. For the basket, verify the item, quantity and agreed total calculation. A non-empty results list does not prove that search found the correct product. Test data needs an owner so a price change is not mistaken for an application error.

Set the purchase-check boundary in advance. A journey ending before order submission does not verify order creation, a real payment or email delivery. Checking those steps requires an approved method addressing payments, stock, documents, messages and cleanup. Monitoring without false orders explains the details. Labelling an account as a test account does not remove side effects.

Combine the customer’s view with operating data, such as service errors and completed-order counts. Google SRE recommends monitoring latency, traffic, errors and saturation. These signals can assist diagnosis, but one successful synthetic purchase does not confirm correctness of every customer order.

The interval also determines detection delay

Consider an illustrative configuration: a check runs every two minutes and an alert requires three consecutive failures. If an outage begins immediately after a successful run, confirmation may take roughly six minutes. Add scenario duration, rule evaluation and message delivery. Missed runs may delay it further. This is not a guaranteed alert deadline.

Configure this according to the team’s response time and the impact of waiting. Check the execution worker’s capacity too. A slow scenario should not overlap later runs without control or consume all available sessions.

Infrequent checks provide few p95 samples. Also display individual durations, measurement counts, failures and the selected time window. Synthetic measurements describe a controlled scenario, rather than the distribution of real visitors’ experiences. Google SRE discusses low-traffic alerting limitations. Do not extrapolate a percentile from a few runs to the whole shop.

Distinguish shop failures from check failures

Compare the failed step, location and last successful run. A single-location failure may involve the network, regional access or content distribution. It does not automatically prove a global outage. Equally, do not dismiss it if customers buy from that region.

Check monitor-account validity, test data and automated-access blocking too. A missing test product or broken worker requires a check repair. A missing or stuck run needs its own status. Silence must not be treated as a successful purchase.

After a form change, verify both the new element and expected outcome. Repairing a selector without checking the function can remove the very assertion intended to detect the problem.

An alert must support the next action

Include the journey, failed step, time, location, current result, triggering rule and a link to evidence with appropriate access. Assign an owner and an escalation path if they do not respond. Exclude access tokens and complete customer records from the message.

Distinguish an urgent incident from an investigation task. Related failures can be grouped into one incident, but verify affected journeys during recovery. Grafana’s documentation illustrates thresholds, routing and grouping. Available metrics and rules depend on check type.

Before enabling monitoring, trigger an authorised controlled failure and verify the entire chain from result to alert delivery and acknowledgement. Also test recovery and a missing run. Repeat this verification after changing a scenario or rule.

What you gain

Next step

Would you like to apply this checklist to your online shop? Contact us. We will review your key journeys and propose scenarios, intervals and thresholds that increase the chance of detecting an outage before it has a more significant effect on revenue.

Related topics

You might also be interested in

Detect an outage before a customer reports it

We write scripts that validate purchase, login and payment in production and plug them into your pipeline or scheduler - you run them.