Skip to content
View in the app

A better way to browse. Learn more.

hosang I.T.

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Synthetic Monitoring – Complete Guide


Synthetic Monitoring – Complete Guide

Image
Image
Image
Image
Image

1. Observability Foundation

Modern observability is not a single tool, but a stack of complementary signals:

Infrastructure + Logs + APM + Synthetic + RUM
============================================
                Alerts + Dashboards

Role of Each Signal

LayerPurpose
Infrastructure MonitoringCPU, memory, disk, network, nodes
Log MonitoringErrors, warnings, audit trails
APMTraces, service latency, dependencies
Synthetic MonitoringProactive availability & performance checks
RUM (Real User Monitoring)Actual end-user experience

👉 Synthetic Monitoring fills the proactive gap: it tells you something is broken before real users complain.


2. What Is Synthetic Monitoring?

Synthetic Monitoring is a technique where automated scripts simulate user or system behavior by sending requests to your application at regular intervals.

These scripts:

  • Call endpoints
  • Validate availability
  • Measure performance
  • Check correctness

Even if no real users are active, synthetic monitoring still runs.


3. Core Concept (From Your Notes)

SCRIPT  --->  ENDPOINT (API / HTTP / TCP / UDP)
                 |
              UP or DOWN?

Key Characteristics

  • Script-driven
  • Predictable execution
  • Runs on schedule
  • Independent of real traffic

4. What Can Synthetic Monitoring Test?

Supported Protocols

ProtocolUse Case
HTTP / HTTPSREST APIs, websites
API (REST / GraphQL)Backend services
TCPDatabase ports, SMTP, SSH
UDPDNS, VoIP, streaming
ICMPBasic reachability (ping)

5. Types of Synthetic Monitoring

5.1 API / HTTP Synthetic Monitoring (No JavaScript)

Image
Image

Characteristics

  • Direct HTTP calls
  • JavaScript not executed
  • Lightweight and fast
  • Ideal for backend checks

Typical Checks

  • Status code (200/201/etc.)
  • Response time
  • Response body validation
  • Headers and auth
  • TLS handshake

Example

Client (Synthetic Agent) ---> HTTP API
                              |
                          JSON Response

5.2 Browser Synthetic Monitoring (JavaScript Executed)

Image
Image

Characteristics

  • Uses a real browser
  • Executes JavaScript
  • Simulates real user behavior
  • Heavier than API checks

Typical Scenarios

  • Login flow
  • Form submission
  • SPA loading (React / Angular / Vue)
  • Checkout journey

Example

Synthetic Browser ---> Load HTML ---> Execute JS ---> DOM rendered

6. Where Are Synthetic Scripts Hosted?

Script Hosting Model

=============================
SCRIPT hosted by Monitoring Platform
=============================

In tools like Dynatrace, scripts are:

  • Centrally managed
  • Versioned
  • Secure
  • Executed by managed agents

7. Global Execution Locations (15+ Regions)

Image
Image

Scripts run from multiple geographic regions:

USA   ---> API ---> Latency / Availability
INDIA ---> API ---> Latency / Availability
EU    ---> API ---> Latency / Availability

Why Global Locations Matter

  • Detect regional outages
  • Measure geo-latency
  • Validate CDN behavior
  • Catch ISP-specific issues

8. What Exactly Is Tested in a Synthetic Request?

From your notes:

https
  protocol
  load
  auth
    pass
    cert
    token
  body
  param

Detailed Breakdown

8.1 Protocol

  • HTTP / HTTPS
  • TLS version
  • Cipher negotiation

8.2 Load & Performance

  • DNS resolution time
  • TCP connect time
  • TLS handshake time
  • Time to first byte (TTFB)
  • Total response time

8.3 Authentication

TypeExample
Basic AuthUsername + Password
TokenBearer / OAuth / JWT
CertificatemTLS
Custom HeadersAPI keys

8.4 Request Body

  • JSON
  • XML
  • Form data
  • GraphQL payload

8.5 Parameters

  • Query parameters
  • Path variables
  • Headers

9. Availability vs Performance

Synthetic Monitoring checks both:

AspectExample
AvailabilityEndpoint reachable?
PerformanceResponse < 500ms?
CorrectnessJSON field exists?
SecurityTLS valid?

10. Alerting & Dashboards

Alert Flow

Synthetic Failure
      ↓
Alert Rule Triggered
      ↓
Notification (Slack / Email / PagerDuty)

Dashboards Show

  • Uptime %
  • Response time trends
  • Region-wise comparison
  • Failure root causes

11. Synthetic vs RUM (Critical Difference)

Synthetic MonitoringRUM
ProactiveReactive
Script-basedReal users
ControlledUncontrolled
Runs 24×7Runs when users exist

👉 Best practice: Always use Synthetic + RUM together.


12. Common Use Cases

  • API health checks
  • Login page monitoring
  • SSL certificate expiry checks
  • Geo-availability validation
  • Pre-release testing
  • SLA / SLO verification

13. Best Practices

Design

  • Keep scripts small and focused
  • Separate API and browser checks
  • Avoid unnecessary UI steps

Execution

  • Run from multiple regions
  • Use realistic authentication
  • Set meaningful thresholds

Alerting

  • Avoid alert storms
  • Combine with APM context
  • Alert on user-impacting failures

14. Synthetic Monitoring in Observability Strategy

Infra + Logs + APM + Synthetic + RUM
===================================
        Single Pane of Glass

Synthetic Monitoring acts as:

  • Early warning system
  • External viewpoint
  • SLA guardian

15. Summary

Synthetic Monitoring:

  • Uses scripts to test endpoints
  • Works with HTTP, API, TCP, UDP
  • Runs globally from managed regions
  • Tests availability, performance, and correctness
  • Complements APM and RUM
  • Enables proactive incident detection

View the full article

User Feedback

Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.