SLOs
Create an SLO
Create an SLO on the provided dataset.
post/1/slos/{datasetSlug}
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 - SLO created
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"
]
}