What is a synthetic monitor and when do you use one as an SLI source?
IntermediateConceptSLIs, SLOs & SLAs
Answer
A synthetic monitor is a scripted probe that calls your service on a schedule from outside (Prometheus Blackbox Exporter, Grafana Synthetic Monitoring, CloudWatch Synthetics, Checkly). Use it when:
- Traffic is too low for request-based SLIs to be stable.
- You need to test the full path including DNS, TLS, CDN and load balancer.
- You want to detect failure before real users arrive (early morning).
avg_over_time(probe_success{job="blackbox",instance="https://shop.example.com/health"}[5m])
More on SLIs, SLOs & SLAs
Define SLI, SLO and SLA with an example of each.BeginnerWhy should the SLA be looser than the SLO?BeginnerWhy are SLIs best expressed as a ratio of good events to valid events?IntermediateWhat is the difference between request-based and time-based (window-based) SLIs?AdvancedWhere should you measure an SLI, and what are the trade-offs?AdvancedWhat types of SLIs exist beyond availability and latency?Intermediate