You're asked to add synthetic monitoring for a public web app. What do you check and from where?
BeginnerScenarioObservability & Telemetry Decisions
Answer
Situation read → Synthetics catch outages when there is no real traffic (night, new regions) and test paths end to end from outside, including DNS, CDN and TLS.
What I'd do →
- Pick 3–5 critical journeys: homepage, login, search, add to cart, a read-only checkout step.
- Run probes from several regions outside our cloud (Grafana Synthetic Monitoring, Datadog Synthetics, CloudWatch Synthetics, or Blackbox Exporter in another provider).
- Simple HTTP checks every minute; scripted browser checks every 5–10 minutes.
- Check TLS expiry and DNS resolution along the way:
probe_ssl_earliest_cert_expiry - time() < 86400 * 14 - Alert only when probes fail from multiple locations, to avoid paging on one bad network path.
- Use dedicated test accounts and tag synthetic traffic so it can be excluded from business metrics.
Why → Synthetics are a reliable "is it up for users" signal independent of our own infrastructure.
Interview tip → Mention multi-location quorum ("2 of 3 regions failing") to avoid false pages.
More on Observability & Telemetry Decisions
Your team has metrics and logs but no tracing. A request to checkout fans out to 9 services and nobody can tell where the 2 seconds go. How do you introduce tracing?IntermediateThe monthly observability bill doubled in two months and finance wants it cut by 40%. What do you do?IntermediateA developer adds `customer_id` as a label to a request counter "for better debugging". You catch it in code review. What do you say?BeginnerYou need to pick a trace sampling strategy for a service doing 20,000 requests per second.AdvancedEvery team has built their own Grafana dashboards with different panels. During incidents, nobody can find anything.BeginnerA service's logs are unstructured strings like `Order 123 failed for user 9 after 3 retries`. Searching them during incidents is painful.Beginner