Expand description
Pure SLA evaluation: staleness, static volume floor, and learned-baseline
volume anomaly detection (z-score / Tukey IQR fences). No I/O — the
orchestration in sla::evaluate_post_run owns state loading/persisting.
Enums§
- SlaViolation
- One detected SLA violation.
Functions§
- detect_
anomaly - Run the configured detector;
Some(detail)whenrowsis anomalous againstbaseline. Callers guaranteebaseline.len() >= min_history >= 2. - evaluate_
failure - Checks that apply to a failed run: staleness of the last success. A pipeline with no recorded success yet cannot be measured (cold start).
- evaluate_
success - Checks that apply to a successful run: the static floor and the learned-baseline anomaly, both against the prior baseline (before this run’s volume is folded in).