Editing SLOs
After creating an SLO, you can edit it in the Nobl9 UI by clicking the pencil icon next to the SLO in the grid view or via sloctl
using the apply
command.
However, you should be aware that changing certain attributes can impact the way SLOs are calculated. The exact behavior is determined by what fields in the SLO you edit. Depending on the fields you change, you can expect one of the following outcomes:
-
The SLO calculations are reset. The changes made result in losing your historical metrics data gathered for the old field values, resetting the error budget of your SLO, and removing the budget history. The SLO calculations are restarted afresh from the moment of the edit.
-
The SLO calculations are not reset. Calculations from the time of the edit take into account the new field values, but the error budget is not reset and the budget history is retained.
-
The charts are reset. The changes made result in losing your historical data displayed on the charts.
Editing SLOs – overview
The following table indicates which SLO attributes can be changed without triggering a reset (N), and which cannot (Y). A change to any of the fields marked Y will cause the SLO calculations or charts (without preserving the history) to be reset.
Field name | Are the SLO calculations reset? | Do the charts reset? |
---|---|---|
project | Y | Y |
timeWindows | Y | N |
op | Y | N |
value | Y | N |
burnRateCondition 1 | Y | N |
target | Y | N |
budgetingMethod | Y | N |
query | N | N |
displayName | N | N |
description | N | N |
alertPolicies | N | N |
attachments | N | N |
labels | N | N |
1 Applies to Composite SLOs only.
Notes:
- If you change the project, Nobl9 will create a new SLO with the same settings but in a different project. As such, the new SLO will be calculated from scratch.
You can't edit the incremental
setting for an already created Ratio metric SLO objective.
To change this, remove the existing objective and create a new one with the correctly applied method -
incremental or non-incremental.
For more information, refer to the SLO calculations guide.