Smarter anomaly detection to reduce false positives: **Learning Window:** 7 days → 14 days - Captures weekly patterns (weekday vs weekend) **Metric-Specific Thresholds:** CPU: - Only report if usage >70% AND >2x baseline - Low CPU variance (5% vs 10%) is not actionable Memory: - Report if >80% OR (>1.5x baseline AND >60%) - Memory is more stable, lower threshold makes sense Disk: - Report if >85% usage OR +15 percentage points growth - Disk problems are critical, use absolute thresholds Other metrics: - Use 2x threshold as default This dramatically reduces 'noise' anomalies while catching actual problems that need operator attention. |
||
|---|---|---|
| .. | ||
| store.go | ||
| store_extended_test.go | ||
| store_test.go | ||