This feature is available as part of the Honeycomb Pro and Enterprise plans.
Honeycomb SLOs allow you to define and monitor Service Level Objectives (SLOs) for your organization.
This API allows you to list, create, update, and delete SLO objects.
The API key must have the Manage SLOs permission. Learn more about API keys here.
Create an SLO on the provided dataset
name required | string [ 1 .. 120 ] characters The name of the SLO. |
description | string [ 0 .. 1023 ] characters A nice description of the SLO's intent and context. |
required | object Reference to the Derived Column used as the indicator of event success. |
time_period_days required | integer >= 1 The time period, in days, over which the SLO will be evaluated. |
target_per_million required | integer [ 0 .. 999999 ] The number of events out of one million (1,000,000) that you expected qualified events to succeed. |
Success - SLO created
Unauthorized
Forbidden
Not Found
Validation Failed
Error
{- "name": "My SLO",
- "description": "SLO to ensure requests succeed and are fast",
- "sli": {
- "alias": "error_sli"
}, - "time_period_days": 30,
- "target_per_million": 990000
}
{- "id": "string",
- "name": "My SLO",
- "description": "SLO to ensure requests succeed and are fast",
- "sli": {
- "alias": "error_sli"
}, - "time_period_days": 30,
- "target_per_million": 990000,
- "reset_at": "2022-011-11T09:53:04Z",
- "created_at": "2022-09-22T17:32:11Z",
- "updated_at": "2022-10-31T15:08:11Z"
}
Get all SLOs for a dataset
Success
Unauthorized
Forbidden
Not Found
Error
[- {
- "id": "string",
- "name": "My SLO",
- "description": "SLO to ensure requests succeed and are fast",
- "sli": {
- "alias": "error_sli"
}, - "time_period_days": 30,
- "target_per_million": 990000,
- "reset_at": "2022-011-11T09:53:04Z",
- "created_at": "2022-09-22T17:32:11Z",
- "updated_at": "2022-10-31T15:08:11Z"
}
]
Get an SLO by ID.
detailed | boolean Allows SLO reporting data ( |
Success
Unauthorized
Forbidden
Not Found
Error
Get an SLO by ID
{- "id": "bZ1aRHAUsjG",
- "name": "My SLO",
- "description": "My SLO description",
- "sli": {
- "alias": "my-sli"
}, - "time_period_days": 30,
- "target_per_million": 989900,
- "reset_at": "2022-10-15T13:53:11Z",
- "created_at": "2022-09-15T05:39:42Z",
- "updated_at": "2022-12-20T08:10:05Z"
}
Update an SLO by specifying its ID and full SLO details.
Partial updates are not supported.
name required | string [ 1 .. 120 ] characters The name of the SLO. |
description | string [ 0 .. 1023 ] characters A nice description of the SLO's intent and context. |
required | object Reference to the Derived Column used as the indicator of event success. |
time_period_days required | integer >= 1 The time period, in days, over which the SLO will be evaluated. |
target_per_million required | integer [ 0 .. 999999 ] The number of events out of one million (1,000,000) that you expected qualified events to succeed. |
Success
Unauthorized
Forbidden
Not Found
Validation Failed
Error
{- "name": "My SLO",
- "description": "SLO to ensure requests succeed and are fast",
- "sli": {
- "alias": "error_sli"
}, - "time_period_days": 30,
- "target_per_million": 990000
}
{- "id": "string",
- "name": "My SLO",
- "description": "SLO to ensure requests succeed and are fast",
- "sli": {
- "alias": "error_sli"
}, - "time_period_days": 30,
- "target_per_million": 990000,
- "reset_at": "2022-011-11T09:53:04Z",
- "created_at": "2022-09-22T17:32:11Z",
- "updated_at": "2022-10-31T15:08:11Z"
}
Delete an SLO by specifying its ID.
Success - no content
Unauthorized
Forbidden
Not Found
Error
{- "error": "unknown API key - check your credentials"
}