What are SLOs for batch jobs and data pipelines?

IntermediateConceptSLIs, SLOs & SLAs
Answer

Batch users care about freshness and completeness, not request latency:

  • Freshness: "99% of the time, the reporting table is less than 2 hours old."
  • Completeness / coverage: "99.9% of daily records are processed by 06:00."
  • Correctness: "99.99% of output rows pass validation."

Implement freshness with a timestamp metric the job pushes when it finishes:

time() - max(pipeline_last_success_timestamp_seconds{pipeline="orders-etl"}) < 7200
All SRE & Reliability questions Roadmap: SRE & incident response

More on SLIs, SLOs & SLAs