pub fn detect_high_cpu( samples: &[MetricSample], high_threshold: f64, critical_threshold: f64, ) -> Vec<Anomaly>
Detect high CPU usage anomalies.