Editing SLOs
After creating an SLO, you can edit it on the Nobl9 Web 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 (), and which cannot (). A change to any of the fields marked with will cause the SLO calculations or charts (without preserving the history) to be reset.
Field name | Resets SLO calculations | Resets charts |
---|---|---|
project 1 | ||
timeWindows | ||
op | ||
value | ||
burnRateCondition Composite SLOs only | ||
target | ||
budgetingMethod | ||
query | ||
spec.objectives[0].name 2 | ||
displayName | ||
description | ||
alertPolicies | ||
attachments | ||
labels | ||
maxDelay Composites 2.0 only | ||
whenDelayed Composites 2.0 only | ||
composite.components.objectives Composites 2.0 only |
1 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.
2 If you donβt specify an objective's name while creating an SLO, Nobl9 auto-generates one. The name can only be updated once and only using sloctl
. Check this document for more details
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.