Skip to main content

Editing SLOs

Reading time: 0 minute(s) (0 words)

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:

  1. 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.

  2. 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.

  3. 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 nameResets SLO calculationsResets 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 when creating an SLO, Nobl9 will auto-generate one. These names can be changed only once using sloctl, the Nobl9 Terraform Provider, or the Nobl9 SDK for Go! However, for auto-generated names, updating them won’t restart the error budget or charts. Check this document for more details.

tip

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.

moving SLOs between services

You can use sloctl to move SLOs to another service as long as they belong to the same project. To do that, apply a YAML definition for your SLO with a changed service name.