Getting Started with Synthetic Monitoring
Overview
Synthetic tests allow you to observe how your systems and applications are performing using simulated requests and actions from around the globe. Datadog tracks the performance of your webpages and APIs from the backend to the frontend, and at various network levels (HTTP
, SSL
, DNS
, WebSocket
, TCP
, UDP
, ICMP
, and gRPC
) in a controlled and stable way, alerting you about faulty behavior such as regressions, broken features, high response times, and unexpected status codes.
Synthetic test types
Datadog offers API tests, Multistep API tests, Browser tests, and Mobile tests.
To monitor internal-facing applications, run your tests from managed locations or private locations. Synthetic tests can be triggered manually, on a schedule, or directly from your CI/CD pipelines.
Prerequisites
If you haven’t already, create a Datadog account.
To set up your first Synthetic test with Datadog, choose from the following options:
Synthetic Monitoring notifications
Use and enrich Synthetic monitors to send notifications when a Synthetic Monitoring test is failing. The following use cases are available:
- Pre-filled monitor messages
- Pre-filled monitor messages provide a structured starting point for Synthetic test alerts. Each message includes a standardized title, summary, and footer containing test metadata, making it easier to understand the alert at a glance.
- Template variables
- Template variables let you inject test-specific data into monitor notifications dynamically. These variables pull from the
synthetics.attributes
object. - Advanced usage
- Advanced usage includes techniques for surfacing deeper test insights or structuring complex messages using handlebars templating.
- Conditional alerting
- Conditional alerting allows you to change the content of a monitor notification based on specific test results or failure conditions.
For more information, see Synthetic Monitoring notifications.
Version History
Use Version History in Synthetic Monitoring to restore your test to any saved version, or clone a version to create a new Synthetic Monitoring test.
Further Reading
Additional helpful documentation, links, and articles: