Skip to main content

evaluate_failure

Function evaluate_failure 

Source
pub fn evaluate_failure(
    spec: &SlaSpec,
    prior: &SlaState,
    now_unix: i64,
) -> Vec<SlaViolation>
Expand description

Checks that apply to a failed run: staleness of the last success. A pipeline with no recorded success yet cannot be measured (cold start).