Problem
Internal metrics can look healthy while users cannot log in or check out, for example when DNS, a CDN, or a certificate fails. Low-traffic periods leave no real requests to reveal problems.
Also known as: synthetic-probes, blackbox-monitoring
Continuously exercise critical user journeys with scripted probes to detect outages before real users report them.
Internal metrics can look healthy while users cannot log in or check out, for example when DNS, a CDN, or a certificate fails. Low-traffic periods leave no real requests to reveal problems.
Synthetic monitoring, also called black-box monitoring, tests a system from the outside the way a user would. It complements white-box metrics, which only report what the system knows about itself. A probe fails when the user path fails, regardless of whether internal dashboards are green.
Probes run from multiple regions on a fixed interval and record success, latency, and step timings.
every 60s, from eu, us, ap:
GET /health/deep expect 200 under 500ms
POST /login (test account) expect token
GET /cart expect 200
POST /checkout (sandbox) expect order id
check TLS expiry warn at 14 days
alert if: 2 of 3 regions fail 3 consecutive runs
Probe results become an availability SLI: successful runs divided by total runs. Use a dedicated header or account so requests are identifiable in logs and excluded from product metrics. Journey steps should reuse the same code paths as real traffic, including the CDN and public DNS name, not an internal endpoint.
Medium - probe hosts or vendor fees
Medium - script maintenance
Low - simple concept
Probe passes via a cached or health-check path while the real path fails
Single probe location causes false pages during its own network issue
Test account pollutes production data or triggers real charges