RELIABILITY, SECURITY & CASE STUDIES · SUBTOPIC
Actionable Alerting & Trace Sampling
Page engineers only on real user symptoms and keep trace storage bills under control.
IntermediatePart of Observability, Logging & Tracing
Subtopics in Observability, Logging & Tracing (2)
In plain words
Don’t wake someone up at 3 AM just because CPU hit 80% if users aren’t affected. Alert on symptoms (errors or slow pages), and use smart sampling so you save 100% of broken traces and just 1% of healthy ones.
Think of it like…
Smoke alarm going off for an actual fire (symptom alert) instead of beeping every time you preheat the oven.
Loading interactive diagram
Loading interactive exercise
Theory & how it works
Alert on Symptoms, Diagnose with Causes
Page on burn-rate SLO alerts ("Error rate is burning 10× our monthly error budget" or "Checkout p99 > 1.5s"), NOT noisy infrastructure thresholds ("Pod CPU > 75%"). Every page should link straight to a runbook.
Key points & practical guide
Summary checklist
- Use tail-based sampling to capture 100% of error & slow traces cheaply
- Alert on user-impacting SLO burn rates, not raw CPU spikes
- Include
trace_idin error responses shown to support/users for instant lookup
When to use it
- Scaling observability without blowing up cloud monitoring bills
Watch out for
- Alert fatigue: noisy 3 AM alerts train engineers to ignore real outages
Quick check
Loading quiz