{"id":31058,"date":"2025-11-12T02:56:25","date_gmt":"2025-11-12T02:56:25","guid":{"rendered":"https:\/\/www.dotcom-monitor.com\/blog\/?p=31058"},"modified":"2026-10-31T14:06:18","modified_gmt":"2026-10-31T14:06:18","slug":"what-is-synthetic-monitoring","status":"publish","type":"post","link":"https:\/\/www.dotcom-monitor.com\/blog\/what-is-synthetic-monitoring\/","title":{"rendered":"What Is Synthetic Monitoring?"},"content":{"rendered":"

\"Monitoring<\/p>\n

Synthetic monitoring is the practice of running scripted, automated checks against a website, application or application programming interface (API) from locations outside your network, on a fixed schedule, to verify that it is available, fast and working correctly, whether or not any real users are online.<\/p>\n

Because synthetic monitoring doesn’t wait for traffic, you catch outages, slow pages and broken logins before customers do, at any hour and from any region. This page covers how it works, the main test types, how it compares with other approaches, and where it falls short.<\/p>\n

Synthetic Monitoring Explained<\/h2>\n

Synthetic monitoring is an active monitoring method that uses scripts to simulate what a user or client does, such as loading a page, signing in or calling an API, and runs those scripts on a schedule from external locations. Each run records whether every step succeeded and how long it took.<\/p>\n

You will also see it called active, outside-in or black-box monitoring. Google’s Site Reliability Engineering book<\/a> defines black-box monitoring as testing a system’s externally visible behavior the way a user would see it, and calls it symptom-oriented: it tells you the system isn’t working right now.<\/p>\n

The key word is scripted. Synthetic monitoring generates its own traffic on a schedule you set, so it produces data overnight, in quiet regions and before launch. Passive methods only record what happens when real people use the site.<\/p>\n

A simple example: a script signs in with a test account and loads the dashboard every 5 minutes from New York, Frankfurt and Singapore. If the dashboard fails from two of those cities, you get an alert before the first support ticket arrives.<\/p>\n

How Does Synthetic Monitoring Work?<\/h2>\n

Every synthetic monitoring setup follows the same loop: decide what to test, script it, schedule it, measure it and alert on failures.<\/p>\n

\"Loop
Synthetic monitoring follows a continuous loop \u2014 Simulate, Measure, Alert, Repeat.<\/figcaption><\/figure>\n
    \n
  1. Choose Journeys and Endpoints.<\/strong> Start with whatever costs you revenue or breaks a service level agreement (SLA) when it fails: sign-in, checkout, search, a public API, Domain Name System (DNS) resolution and certificate validity.<\/li>\n
  2. Script the Test.<\/strong> A simple check needs only a URL and an expected response. Multi-step journeys are recorded in a browser or written as code, with assertions that confirm each step returned the right content, not just a 200 status.<\/li>\n
  3. Choose Locations and Frequency.<\/strong> Public monitoring locations (agents) on the internet measure the full path your users take, including DNS, content delivery network (CDN) and internet service provider (ISP) routing. Private agents inside your network cover internal apps and staging. Frequency sets how quickly you can detect a failure.<\/li>\n
  4. Run and Measure.<\/strong> Each run records availability, response time and step timings and, for browser tests, page load metrics, waterfall data and screenshots. Repeated runs under the same conditions give you a stable baseline.<\/li>\n
  5. Alert and Diagnose.<\/strong> When a check fails or crosses a threshold, the tool notifies on-call staff by email, chat or paging tools. The recorded run shows which step failed, from where and how long it took, which shortens diagnosis.<\/li>\n<\/ol>\n

    Then the loop repeats every interval, around the clock. Shorter intervals reduce mean time to detect (MTTD), at the cost of more runs and more alerts to tune.<\/p>\n

    Types of Synthetic Tests<\/h2>\n

    Most synthetic monitoring setups combine several test types, because each one validates a different layer of the stack.<\/p>\n

    \"Six
    Mature monitoring strategies combine several of these test types \u2014 each validates a different layer.<\/figcaption><\/figure>\n
    \n\n\n\n\n\n\n\n\n\n\n
    Test Type<\/th>\nWhat It Checks<\/th>\nExample Failure It Catches<\/th>\nSuggested Starting Interval<\/th>\n<\/tr>\n<\/thead>\n
    Uptime \/ availability (HTTP, ping, port)<\/th>\nWhether a URL, host or port responds with the expected status and content<\/td>\nWeb server returns 503 errors after a bad deploy<\/td>\nEvery 1 minute for critical endpoints; every 5 minutes for lower-priority checks<\/td>\n<\/tr>\n
    Browser \/ page load<\/th>\nA full page render in a real browser, including JavaScript and third-party resources<\/td>\nA third-party script blocks rendering and page load doubles<\/td>\nEvery 5 minutes for key pages; every 15 minutes for secondary pages<\/td>\n<\/tr>\n
    Multi-step transaction<\/th>\nA scripted user journey, step by step<\/td>\nThe “Place order” button stops responding after a UI change<\/td>\nEvery 5 minutes for critical journeys; consider 1 minute when faster detection is necessary<\/td>\n<\/tr>\n
    API<\/th>\nStatus code, latency and response payload, including chained calls<\/td>\nToken endpoint returns 200 with an empty body<\/td>\nEvery 1 or 5 minutes, according to the endpoint\u2019s importance<\/td>\n<\/tr>\n
    DNS<\/a><\/th>\nName resolution, resolution time and record values<\/td>\nAn A record still points to a retired server after a migration<\/td>\nEvery 1 minute for critical records; every 5\u201315 minutes for lower-priority records<\/td>\n<\/tr>\n
    SSL\/TLS certificate<\/a><\/th>\nCertificate validity, expiry date and chain<\/td>\nA certificate on a forgotten subdomain expires<\/td>\nEvery 15 minutes as a starting configuration; shorten the interval for critical endpoints<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n

    These intervals are starting recommendations, not measured averages or a fixed schedule for every service. They use the configurable intervals described in Dotcom-Monitor\u2019s frequency documentation<\/a>, its frequency and location guidance<\/a>, and the criticality guidance on the DNS monitoring page<\/a>. The 15-minute certificate interval is an example configuration, not an expiry-detection guarantee. Choose a shorter interval when certificate failures would interrupt a critical service, and configure an advance expiry warning. Available intervals depend on the monitoring platform and plan.<\/p>\n

    A scheduled interval is not a guaranteed alert time. A long-running browser script must finish or time out, and failure verification and notification filters can add delay.<\/p>\n

    Transaction tests<\/strong> are the most valuable and the most fragile. They replay a real journey, such as search, add to cart and pay, so they catch failures an uptime check misses: the home page loads, but nobody can buy. See our guide to transaction monitoring<\/a> for scripting details.<\/p>\n

    API tests<\/strong> send requests and check status codes, latency and the response body. Multi-step API tests chain calls, for example authenticate, create a record, read it back and delete it, to validate a whole workflow. Read more about API monitoring<\/a>.<\/p>\n

    Protocol checks apply the same approach to email (SMTP, POP3, IMAP), FTP and VoIP services, and mobile app synthetic monitoring<\/a> extends it to native apps.<\/p>\n

    Synthetic Monitoring vs. Real User Monitoring vs. APM<\/h2>\n

    Synthetic monitoring tests your application with scripted traffic on a schedule, real user monitoring (RUM) records what actual visitors experience, and application performance monitoring (APM) traces what happens inside your code. The difference is who generates the traffic: synthetic creates its own, while RUM and APM depend on real requests arriving.<\/p>\n

    \"Comparison
    The three monitoring approaches are complementary, not competing.<\/figcaption><\/figure>\n
    \n\n\n\n\n\n\n\n\n\n\n
    Comparison<\/th>\nSynthetic<\/th>\nRUM<\/th>\nAPM<\/th>\n<\/tr>\n<\/thead>\n
    Data source<\/th>\nScripted checks from agents<\/td>\nReal sessions (JavaScript snippet)<\/td>\nBackend instrumentation (traces, logs)<\/td>\n<\/tr>\n
    When it collects<\/th>\n24\/7, on a schedule<\/td>\nOnly when users are active<\/td>\nDuring real requests<\/td>\n<\/tr>\n
    Works before launch<\/th>\nYes<\/td>\nNo<\/td>\nYes, in staging<\/td>\n<\/tr>\n
    Low-traffic periods<\/th>\nFull coverage<\/td>\nSparse data<\/td>\nFewer samples<\/td>\n<\/tr>\n
    Catches unscripted paths<\/th>\nNo<\/td>\nYes<\/td>\nPartly<\/td>\n<\/tr>\n
    Best for<\/th>\nUptime, regressions, SLA evidence<\/td>\nReal experience across devices and networks<\/td>\nRoot cause in code<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n