Your anomaly detection works, but the AIOps program's credibility is dying from false positives. How do you measure and fix alert quality?
Quick Answer
Treat alerting as a classifier: measure precision (actionable pages / total pages), recall (incidents caught by alerts vs found by humans/customers), and time-to-detect — per detector. Fix low precision with feedback loops (every page gets an actionable/noise label), seasonality-aware baselines, correlation before notification, and ruthless retirement of detectors that never page true.
Detailed Answer
Instrument the loop first: every alert resolution requires a one-click disposition (actionable / known-noise / duplicate / no-action-needed) — this labeled dataset is the fuel for everything else. Then: (1) score each detector monthly on precision/recall/TTD; publish a league table — detectors below a precision floor get tuned or retired (deleting an alert is a valid and underused fix); (2) attack systematic false-positive sources: static thresholds on seasonal metrics (replace with time-of-week baselines or STL decomposition), deploy-time metric shifts (suppress or re-baseline during rollouts), and single-signal alerts on noisy metrics (require corroboration — alert on symptom metrics, use cause metrics as evidence); (3) correlate before paging: group alerts by topology (service graph) and time proximity so one incident produces one enriched page, not forty; (4) route by confidence: high-confidence pages, low-confidence goes to a digest/ticket queue. Success looks like measured numbers — mature programs report 70-95% alert-volume reduction while recall holds — and the ultimate metric is on-call sentiment plus 'incidents detected by customers' trending to zero.
Code Example
-- detector scorecard (monthly)
SELECT detector,
sum(disposition='actionable')::float/count(*) AS precision,
avg(ack_to_resolve_min) AS mttr_contrib,
count(*) AS pages
FROM alert_dispositions GROUP BY detector ORDER BY precision ASC;
-- bottom decile: tune, corroborate, or deleteInterview Tip
'Treat alerting as a classifier with a labeled feedback loop' is the framing that elevates the answer; 'deleting a detector is a valid fix' shows operational courage interviewers like.