srekit ebp¶
Generate an Error Budget Policy with tiered actions (Yellow / Orange / Red), exceptions, and escalation paths. Pairs with srekit slo.
Synopsis¶
Flags¶
| Flag | Required | Description |
|---|---|---|
--service |
yes | Service this policy applies to |
Plus the shared output flags. Default filename: ebp-<slug-of-service>.md.
Examples¶
To stdout:
Section structure¶
- Front matter:
title,service,owner,id - Цель политики (Policy goal)
- Tiered actions:
- 🟡 Yellow — соблюдать SLO, без feature freeze
- 🟠 Orange — приоритет на стабильность
- 🔴 Red — feature freeze, фокус на reliability
- Исключения (Exceptions)
- Эскалация (Escalation)
- Связанные SLO (Related SLOs)
- Ссылки (References)
Template shape¶
ebp ships as a v1 YAML artifact (internal/tmpl/templates/ebp.yaml) — frontmatter, H1, meta_bullets, sections (purpose, triggers, tiered_actions, exceptions, escalation, review, references). Template expressions reference .Meta.<Field> for ID, Service, Now. See srekit postmortem for the full schema reference.
(Owner / team is a fill-in inside the rendered meta_bullets — there's no --owner flag; edit the rendered file or your customized ebp.yaml directly.)
See also¶
srekit slo— define the SLO this policy reacts to.srekit oncall-report— operational view of EBP impact.