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 [ 1 .. 1000000 ] The number of events out of one million (1,000,000) that you expected qualified events to succeed. |
Success - SLO created
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",
- "compliance": 95.39,
- "budget_remaining": 7.73
}
Get all SLOs for a dataset
Success
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",
- "compliance": 95.39,
- "budget_remaining": 7.73
}
]
Get a single SLO by ID.
detailed | boolean Allows SLO reporting data ( |
Success
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",
- "compliance": 95.39,
- "budget_remaining": 7.73
}
Update an SLO by specifying its ID and full SLO details.
detailed | boolean Allows SLO reporting data ( |
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 [ 1 .. 1000000 ] The number of events out of one million (1,000,000) that you expected qualified events to succeed. |
Success
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",
- "compliance": 95.39,
- "budget_remaining": 7.73
}
Delete an SLO by specifying its ID.
detailed | boolean Allows SLO reporting data ( |
Success - no content
Not Found
Error
{- "error": "dataset not found"
}