The error budget of an SLO is the amount of bad service it allows over its period — one minus the target, times the events — which the service spends on incidents, maintenance and risky changes; when it is spent, reliability work takes priority over features.
fig_observe.py.