Skip to content

SloReport

Source code in docs_src/capo_cloudwatchomni/types/slo_report.py
class SloReport(TypedDict, closed=True):
    slo_id: "capo_cloudwatchomni.types.slo_id.SloId"
    """The identifier of the SLO, as requested."""
    state: "capo_cloudwatchomni.types.slo_report_state.SloReportState"
    """The current state of the SLO."""
    measured_at: "datetime.datetime"
    """The time the report was computed. The same for every report in a response. The figures reflect readings published shortly before this time; a reading too old to use leaves the figures absent rather than reporting a stale value."""
    attainment: NotRequired["float"]
    """The percentage of good events or good periods over the SLO's own window, from 0 to 100."""
    error_budget_consumed_ratio: NotRequired["float"]
    """The share of the error budget consumed over the window: 0 means untouched, 1 means used up, and above 1 means overspent."""
    burn_rate: NotRequired[
        "capo_cloudwatchomni.types.slo_report_burn_rate.SloReportBurnRate"
    ]
    """The burn rate over the requested window."""

attainment instance-attribute

attainment: NotRequired[float]

The percentage of good events or good periods over the SLO's own window, from 0 to 100.

burn_rate instance-attribute

burn_rate: NotRequired[SloReportBurnRate]

The burn rate over the requested window.

error_budget_consumed_ratio instance-attribute

error_budget_consumed_ratio: NotRequired[float]

The share of the error budget consumed over the window: 0 means untouched, 1 means used up, and above 1 means overspent.

measured_at instance-attribute

measured_at: datetime

The time the report was computed. The same for every report in a response. The figures reflect readings published shortly before this time; a reading too old to use leaves the figures absent rather than reporting a stale value.

slo_id instance-attribute

slo_id: SloId

The identifier of the SLO, as requested.

state instance-attribute

The current state of the SLO.