Monitor public endpoints using Grafana Synthetic Monitoring
Synthetic Monitoring is a black box monitoring solution provided as part of Grafana Cloud. Synthetic Monitoring gives you insight into how your applications and services are behaving from an external point of view.
You can define checks to continually test remote targets from probe locations around the world and assess the availability, performance, and correctness of services. As each check runs, metrics and logs are collected and published to Prometheus and Loki instances in your account.
The following types of checks are supported:
- Ping endpoints that support ICMP
- HTTP and HTTPS websites
- DNS to test domain name resolution
- TCP connection checks
- Traceroute check, for running traceroute from probes to targets
TLS is supported where applicable.
See the Checks page for more details.
In Grafana Cloud Synthetic Monitoring, probes are the agents responsible for emulating user interactions and collecting data from your specified targets across different global locations. Their data provides valuable insights into the health and performance of your services, helping you ensure optimal user experience and quickly identify and troubleshoot potential issues.
Each probe sends metrics and logs to the Synthetic Monitoring backend, including such information as target availability and health and response latencies, which are then rendered in the Synthetic Monitoring dashboard.
Public probes are instances of the open source Synthetic Monitoring Agent operated by Grafana Labs at distributed locations around the world. Checks are performed from configured locations and write results directly to your Grafana Cloud account.
If you need to allow access through your firewall, see source IPs for allow-listing.
See the Probes page for more details.
You can also install your own private probes and run checks from your own environment or any other locations you choose.
See the Private Probes page for more details.
See the Synthetic Monitoring alerting page for more details.
Config as Code
The Grafana Terraform provider has support for managing Synthetic Monitoring checks and probes. If you already have checks and/or probes created via the UI, an initial Terraform configuration can be exported from the
Config tab of the Synthetic monitoring plugin.
Note: You need to get a synthetic monitoring access token in order to use the Grafana Terraform provider to manage resources. That can either be done by navigating to the
Configtab of the Synthetic monitoring plugin or via the api.
We also have support for Synthetic Monitoring in grizzly
Alternatively, The Synthetic Monitoring API is available for those who don’t want to use Terraform but still want to manage their Synthetic Monitoring checks programmatically.
Billing and usage
Synthetic monitoring usage is billed the same way metrics and logs are billed. For more information, see Understand your invoice
See Installation and initialization of Synthetic Monitoring for setup and installation.
See Getting started to get up and running with Synthetic Monitoring.