Synthetic monitoring and synthetic load testing: do your user journeys still work on production?
Synthetic monitoring means trying the critical flows on a live system at regular intervals and measuring the result, without waiting for a real user to hit a problem: can people sign in, add to the cart, open the checkout page? In Spitfire, the test you wrote for load testing also runs as a synthetic monitor, with the same steps at a low load.
Synthetic monitoring and synthetic load testing: what is the difference?
Both use scripted (synthetic) traffic instead of real users; they differ in the question they ask. Synthetic load testing runs a user journey with hundreds or thousands of virtual users for a short time, usually outside production; it asks how much load the system carries and how much it slows down under it. Synthetic monitoring runs the same journey on production every few minutes with one or a few virtual users, all the time; it asks whether the journey works right now and whether it is getting slower. In Spitfire both are the same test: you build it once, the load test measures capacity and the monitor keeps watch on production.
A good synthetic load test resembles real traffic: the step ratios are close to production usage, every virtual user works with a different user and different data (a CSV, random ids), user think time is taken into account, and success is defined with p95 and error-rate thresholds. Which load shape answers which question is in load test types, how to write thresholds in the p95 and p99 guide.
Why the same test rather than a separate tool
An endpoint answering 200 does not mean the flow works. Is the sign-in token taken and used in the next request, does the item added to the cart show up in it, does the response hold the expected field? Those are already your load test's steps, extractions and checks. Using the same test for monitoring means you do not define the flow twice; when the test changes, the monitor follows.
Synthetic monitoring looks deep at a few critical journeys. To look wide across every page of the site, for console errors, broken links, 4xx/5xx and slow pages on each, there is Sweeper: it crawls your site end to end in a real browser and fails the CI job.
How it works
- On a test, choose Run as synthetic monitor (or Testing → Synthetic monitoring).
- Pick the interval (1, 5, 15 or 60 minutes), the number of VUs (1–10, default 1), one or more locations and the test's environment to use. Each location runs its own check on an idle runner there.
- At each check every VU runs every scenario once (60 s at most), with the same runners, connections and license check as a run. A check never overlaps the monitor's previous one.
- Checks run as the user who created the monitor, with that user's current rights; a monitor whose owner lost them turns off.
Dashboard: uptime, step durations, recent failures
Each monitor's dashboard shows uptime over 24 hours, 7 and 30 days, the per-step duration trend, the latest checks and failures with their error samples and the current state (up, down, slow, unknown), filtered by location. Checks are kept 30 days (on the free edition, the license's shorter retention: 7 days).
At the top of the main dashboard an Always-on watch card rolls up all your monitors at a glance: how many are watching right now, the last 24 hours' uptime, open incidents and the most recent check. The first screen makes it plain that Spitfire keeps running in the background, never straining the system — not a tool you run now and then.
Living baseline: drift without thresholds
Because a monitor checks around the clock, Spitfire learns each monitor's own normal: it compares the last 24 hours' p95 and p50 duration and error rate with the checks of the 7 days before. A flow that got slower than its normal, or fails more often, is caught without anyone guessing a threshold, and you see which step moved. The baseline moves with the monitor; a change that stays becomes the new normal within a week. The dashboard's Always-on watch card lists the monitors that left their normal, worst first.
Order list · Slower than normal — p95 in the last 24 hours 262 ms, baseline 210 ms (+25%); the step that moved is GET /orders. Error rate as in the baseline (0%).
Drift does not stay on the screen: a channel subscribed to monitor.drift (Slack, Teams, e-mail, SMS, webhook, Jira, ServiceNow) hears of it once, when it starts — with p95 and the failure rate before and now. The drift ends when the monitor is back to its normal; your existing channels are unchanged, just tick the event in a channel's list. You get the "it is getting slower" warning before there is an outage.
Checkout flow · Istanbul · every 5 minutes · state: slow — in the last 3 checks the POST /checkout step was over the monitor's 800 ms step threshold (1.2 s, 1.4 s, 1.1 s).
SLO and error budget: against the target, all the time
Every monitor has a 30-day SLO target (99.9% by default; pick from 99% to 99.99%). With every check, Spitfire weighs the share of good checks against the target: the bad checks the target allows are the error budget; the monitor page shows how much is left as a bar, and how fast the last 24 hours spend it as a burn rate. The dashboard's Always-on watch card lists the monitors whose budget is running low. A channel subscribed to monitor.budget hears once when the budget falls to a quarter and once when it runs out; your existing channels are unchanged.
Checkout flow · Budget low — good checks over 30 days 99.92%, target 99.9%; budget left 20% (8 / 10 bad checks), burn rate 3.5×.
A close watch after every deploy
When your deploy pipeline calls POST /api/v1/deploys with an API token, the monitors it touches check at once and then every minute for 30 minutes (never more often than the license allows). Pick monitors by id, by environment or all of them. Their checks after the deploy are then compared to the 24 hours before it, with the living baseline's rules; the Deploys card on the monitor page says Clean, Slower or Failing more. A bad result does not wait for the 30 minutes.
Checkout flow · v2.14.0 · prod · Slower — p95 210 ms → 480 ms (+129%), error rate 0.0% → 0.0%; 4 minutes after the deploy.
Deploys are also marked on the monitor page's duration trend as dashed vertical lines with their version on top, so the chart shows which deploy a jump in duration started with. A deploy that made this monitor slower or raised its failures is drawn in red, with its verdict in the label.
No alerts during planned maintenance
For a planned maintenance such as a database upgrade, put the monitor in maintenance from the card on its page, or from CI with POST /api/v1/maintenance (30 minutes to 8 hours on the card, up to 24 hours from CI). Meanwhile its checks are skipped: no alert, and skipped checks count for nothing in the SLO, the living baseline or a deploy's verdict, so a planned outage does not spend your error budget. When the time is up, or the maintenance is ended, the monitor checks at once.
A weekly watch summary every Monday
Every Monday at 09:00 a Slack, Teams, e-mail or webhook channel subscribed to monitor.weekly gets the summary of the last full week: uptime and the week before's, bad checks, SLO status (met / at risk / budget spent), the monitors drifting, the week's deploys and, worst first, each monitor's uptime and p95 change. The team sees the watch going on in weeks without an alert too; the summary goes out once a week and follows the channel's test filter.
Monitors in Prometheus and Grafana
Spitfire's /metrics carries the enabled monitors too: spitfire_monitor_up, the last check, the error budget left and its burn rate, the SLI, drift from the living baseline and planned maintenance, labelled by monitor, test and environment. The Synthetic monitors row of the Grafana dashboard in the examples repository shows them, and teams on Alertmanager get ready alerting rules: a monitor failing, stopped checking, low on error budget, burning it fast or drifting. A user's token shows only their own monitors; an admin's shows all of them.
A public status page
A workspace admin publishes the monitors they pick on a link that needs no sign-in: the overall state at the top (all systems operational, some systems have problems, down, planned maintenance), then each monitor's state, the uptime of the last 30 days and coloured bars day by day. The page is in Turkish or English, light and dark, refreshes every minute and is closed to search engines. Only the monitor name, state and uptime are published; the test, environment, error messages and the maintenance note stay hidden. A new link retires the old one at once, and the JSON form of the same address can be shown on your own site. Add /badge.svg to the address for a README badge (?show=uptime for the uptime). At the bottom of the page the incidents of the last 30 days show too: the monitor, outage or slowdown, the start and the length.
Incident history and MTTR
Every incident is kept: the Incident history card on a monitor's page lists the incidents of the last 30 days with their start, end, length and kind (outage or slowdown); on top sit the incident count, the total incident time and the mean time to recover (MTTR). The incidents are the alerts' own: N bad checks in a row open one, the first good check closes it. The same list is in the API: GET /api/v1/monitors/<id>/incidents.
Alerts: once per incident
After N bad checks in a row (failed, or slower than the monitor's check or step threshold), it sends one notification per incident to your Slack, Teams, e-mail, SMS, webhook, Jira or ServiceNow channel. Disabled channels and channels paused by the license hear nothing. Notification channels: integrations.
Limits by plan
The number of monitors and the shortest interval depend on the license (the limits come from the plan configuration):
| Edition / plan | Monitors | Interval |
|---|---|---|
| Free | 1 | every 15 minutes at most |
| Starter 1 month (one-time), Growth monthly, Growth 1 month (one-time), Scale monthly, Scale 1 month (one-time) | 1 | every 15 minutes at most |
| Starter yearly | 3 | as often as every minute |
| Growth yearly | 10 | as often as every minute |
| Scale yearly | 30 | as often as every minute |
| Enterprise yearly | unlimited | as often as every minute |
Prices and plans: pricing and licenses.
The data stays in your network
Checks leave from your runners and results stay in your database. To monitor an internal service you do not need to expose it to the internet: a runner in that network is enough. More: self-hosted load testing.
Frequently asked
What is synthetic load testing?
How is synthetic monitoring different from a load test?
Do checks count against the concurrent-run limit?
Can I monitor a flow that changes data?
Spitfire installs on Docker or Kubernetes with one command; every testing feature and protocol is open in the free edition.