SLOs
Update an SLO
Update an SLO by specifying its ID and full SLO details.
put/1/slos/{datasetSlug}/{sloId}
Request body
Example request
{
"name": "My SLO",
"description": "SLO to ensure requests succeed and are fast",
"sli": {
"alias": "error_sli"
},
"time_period_days": 30,
"target_per_million": 990000,
"tags": [
{
"key": "team",
"value": "blue"
}
],
"reset_at": "2022-011-11T09:53:04Z",
"created_at": "2022-09-22T17:32:11Z",
"updated_at": "2022-10-31T15:08:11Z",
"dataset_slugs": [
"mydataset1",
"mydataset2"
]
}Response
Success
Example response
{
"name": "My SLO",
"description": "SLO to ensure requests succeed and are fast",
"sli": {
"alias": "error_sli"
},
"time_period_days": 30,
"target_per_million": 990000,
"tags": [
{
"key": "team",
"value": "blue"
}
],
"reset_at": "2022-011-11T09:53:04Z",
"created_at": "2022-09-22T17:32:11Z",
"updated_at": "2022-10-31T15:08:11Z",
"dataset_slugs": [
"mydataset1",
"mydataset2"
]
}