Available on crate feature
schedule only.Expand description
Scheduler metrics, emitted via the metrics facade. pipeline is the only
label (low cardinality); per-row outcomes are covered by the pipeline-run
metrics in faucet-core. No-ops when no recorder is installed.
Functions§
- consecutive_
failures - describe
- Register HELP text for every scheduler metric. Idempotent — safe to call
more than once. Called from the scheduler loop at startup so the series’
descriptions are present in
/metricsfrom t=0, even before the first tick. - heartbeat
- in_
flight - last_
run_ completed - last_
run_ duration - last_
run_ started - lateness
latemay be negative if a run started slightly early; clamp to 0.- next_
tick - overlap
- reload
policy ∈ {"skip", "queue", "forbid"}. Count a hot config reload attempt (outcome=ok|error).- run_
outcome outcome ∈ {"ok", "err", "skipped"}.