Input
- Capability/scenario description text (required)
- owner (required)
- Reference document path (optional)
Output
Fixed output to output/<slug>/:
sli-spec.jsonsli-report.md
SLI Spec fields (hard constraints)
capabilityuser_journeysli_namesli_type:availability|latency|correctness|freshness|completeness|consistencymeasurementdenominatordimensiontarget_sloerror_budgetseverity:P0|P1|P2owner
Execution rules
- Must not output an SLI Spec with missing fields.
sli_typeandseveritymust match the enumeration.- Field validation failures must return a diagnosable error, and must not silently fill in meaningless default values.
- It is allowed to explicitly specify fields and override inferences via the
key: valueform in the input text. - Prioritize modeling around critical user journeys (such as login, core requests, checkout), and avoid using internal resource metrics such as CPU/memory directly as SLIs.
- Prefer the request-based approach (good requests / total requests); adopt the period-based approach only when truly necessary, and explicitly state the window in
target_slo. - Use a rolling 30d target window by default,
error_budgetby default follows the1 - target_sloapproach. - Do not use 100% as the default target; it is recommended to use a 99.x target and observe budget consumption via burn-rate.
CLI
byted-sol-stablity-sli-modeling \
--input examples/input.capability.md \
--owner team-observability \
--out-dir output