Associated Datadog Illuminated episode: Evaluating an Agent That Creates and Tunes Monitors
Evaluates production behavior to determine healthy baselines. Identifies which endpoints have most risk, then automatically creates + tunes monitors for these services
- Very hard to define what makes a monitor "good" — think of a monitor as a prediction function
- Very hard to have a ground truth for this — use a classifier agent to find "known issues" from data
- "Good monitoring" means different things for different services & different customers
flowchart LR
Setup["Ø SETUP<br/>Set of services + telemetry<br/>+ Bits Detection's Monitors<br/>Time window (past)<br/>Known Issues for services + time window"]
Snapshot["① SNAPSHOT<br/>Generate a monitor set"]
Rewind["② REWIND + REPLAY<br/>Evaluate monitors across the time window"]
Compare["④ COMPARE<br/>Compare alerts to Known Issues"]
Score["⑤ SCORE<br/>Precision + Recall + F1"]
Store["⑥ STORE + ANALYZE<br/>Trends, regressions, ideas"]
Setup --> Snapshot --> Rewind
Setup -- Known Issues --> Compare
Rewind --> Compare --> Score --> Store
- Set of services + telemetry
-
- Bits Detection's Monitors
- Time window (past)
Known Issues for services + time window
Input: Set of services + time window
Action: Generate a monitor set
Output: The monitors at the beginning of the time window
Input: Monitors at beginning of time window
Action: Evaluating those monitors across the whole time window
Output: Alerts that happened during replay
Input: Alerts + Known Issues
Action: ① Compare each alert to Known Issues ② Investigate further if needed
Output: Each alert classified:
| Caught issue | Found issue |
| Missed issue | Alerted wrongly |
Input: Classified alerts
Action: Calculate
① Precision: How many alerts were good alerts? ② Recall: Of all known issues, how many were caught?
Output: Precision Score, Recall score, Combined score (F1)
Input: This eval's score, plus all evals ever
Action: Storing + analysis
Output: monitor shape comparison, quality trends, detects regressions, ideas for improving Bits Detection

