Theory

Updated

October 30, 2026

Theory: Analysis is a Predicate on Metrics Over a Window

AnalysisTemplate defines queries and success/failure conditions. Inline analysis blocks a step; background analysis can abort later.

Invariants

  1. Prometheus is an oracle, not the rollout controller.
  2. Failure conditions should be monotonic enough to trust.
  3. Automatic abort is the point; otherwise it is a dashboard.
step → AnalysisRun → Prom query → success | fail → next | abort

What can break

  • Success condition that is true on no data.

How to read this chapter

Templates, conditions, inline vs background.