archunit

Function gather_metric_threshold_violations

Source
pub fn gather_metric_threshold_violations(
    measurements: &[MetricMeasurement],
    comparison: MetricComparison,
    threshold: f64,
) -> Result<Vec<MetricThresholdViolation>, MetricThresholdError>
Expand description

Returns structured violations for measurements that fail an exact comparison.