Learn
What is Synthetic Monitoring?
Synthetic monitoring simulates user interactions with your applications from external locations to detect issues before real users encounter them. Think of it as having a robot continuously testing your website or API.
How It Works
A synthetic monitoring service sends automated requests to your endpoints at regular intervals. These requests simulate what a real user would do:
- Make an HTTP request to your endpoint
- Wait for a response
- Check if the response is valid (correct status code, expected content)
- Measure how long it took
- Alert you if something's wrong
These checks run continuously, every minute, every 5 minutes, or whatever interval you configure. When something fails, you get notified immediately.
Why It Matters
Your internal monitoring might say everything is fine. But what do your users actually experience?
- Find issues before users do: Catch problems in the first minute, not after customers complain
- Test from outside your network: Your server might be up but unreachable from the internet
- Track performance trends: Catch slowdowns before they become outages
- Validate third-party dependencies: Know when external APIs your app relies on go down
Synthetic vs. Real User Monitoring (RUM)
There are two main approaches to monitoring user experience:
Synthetic Monitoring
Automated checks from external servers. Proactive, detects issues even when no users are active.
Real User Monitoring (RUM)
Collects data from actual user sessions. Reactive, only shows issues after users experience them.
For most teams, synthetic monitoring is a good starting point. It's simpler to set up and catches issues before they affect users.
Common Use Cases
- API health checks: Monitor your public and internal APIs
- Website uptime: Ensure your marketing site and app are accessible
- SSL certificate monitoring: Get alerts before certificates expire
- Third-party service monitoring: Track dependencies like payment providers
Getting Started
Setting up synthetic monitoring is straightforward:
- Choose what to monitor (your key endpoints)
- Set check frequency (1-5 minutes is typical)
- Configure alerts (email, Slack, etc.)
- That's it, you're monitoring