What to monitor in an online shop: journeys, thresholds and alerts
Updated:
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:
- Finding a product: search returns results, categories load, and the listing includes a price and an add-to-basket button.
- Basket: adding an item, changing its quantity and proceeding to the next step. The check verifies that the button exists and the total is correct. A redesign may change or remove the control.
- Registration and sign-in: including signing in as an existing customer, not merely displaying the form.
- Checkout: entering details and selecting delivery and payment. This deserves a separate check because it often contains several custom controls.
- Payment: completing the process through the gateway and returning to a confirmation. This step involves a third-party service you do not control.
- Confirmation and email: verifying that the order was actually created and the confirmation was sent.
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:
- Step failure (the step cannot be completed): we set the number of confirmation runs and the timing of the alert according to the risk. A single run responds faster. Multiple runs reduce sensitivity to a one-off network fluctuation.
- Response-time threshold exceeded: we set the threshold according to what remains tolerable for the customer, taking the ordinary duration of that particular step into account. We monitor a percentile, not a daily average that can conceal slow cases.
- Payment and sign-in may need a faster response to failure than a category listing. This does not automatically mean a lower duration limit, because the steps take different amounts of time.
How often and where to send alerts
- We choose the interval according to the cost of an undetected outage: critical journeys such as payment and sign-in every few minutes, and less critical ones less frequently.
- We send the alert to the agreed channel: email, Slack or Teams. We configure the rules to limit unnecessary noise.
- Depending on the selected tool and configuration, a failure may include a screenshot, video or technical trace. This helps the team identify the step where the problem occurred.
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
- A ready list of what to monitor and in which order, based on the shop’s needs.
- Thresholds that also alert you to an agreed slowdown, not only a complete outage.
- An alert delivered to the agreed channel at a time determined by the interval and confirmation rules.
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.