Skip to main content

detect_high_cpu

Function detect_high_cpu 

Source
pub fn detect_high_cpu(
    samples: &[MetricSample],
    high_threshold: f64,
    critical_threshold: f64,
) -> Vec<Anomaly>
Expand description

Detect high CPU usage anomalies.