Skip to main content

Module spec

Module spec 

Source
Expand description

Config types for the top-level sla: block (#202).

An SLA declares freshness and volume expectations for a pipeline. It is pipeline-level in v1 (no matrix-row override, like resilience:) and is evaluated after every root invocation by the executor — children fan out per parent record, so their volumes are not a stable series to baseline.

Structs§

SlaSpec
Declared service-level agreement for a pipeline: freshness and volume expectations. Violations emit the faucet_pipeline_sla_violations_total{pipeline,row,kind} counter and a structured warning log; they never fail the run.
VolumeAnomalySpec
How a run’s record volume is flagged as anomalous against the rolling baseline of recent successful runs.

Enums§

AnomalyMethod
Volume anomaly detection method.

Constants§

DEFAULT_IQR_SENSITIVITY
Default Tukey-fence IQR multiplier.
DEFAULT_MIN_HISTORY
Default number of successful runs required before volume anomaly detection starts firing (cold-start guard).
DEFAULT_WINDOW
Default rolling-window size (successful runs kept in the volume baseline).
DEFAULT_ZSCORE_SENSITIVITY
Default z-score threshold.