curl --request POST \
--url https://tenant.chronosphere.io/api/v1/config/slos \
--header 'API-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'{
"slo": {
"name": "<string>",
"annotations": {},
"collection_ref": {
"slug": "<string>",
"type": "SIMPLE"
},
"created_at": "2023-11-07T05:31:56Z",
"definition": {
"burn_rate_alerting_config": [
{
"window": "<string>",
"budget": "50.0",
"labels": {},
"severity": "<string>"
}
],
"enable_burn_rate_alerting": true,
"objective": "99.9995",
"time_window": "4w"
},
"description": "<string>",
"labels": {},
"notification_policy_slug": "alerting_notification_policy",
"signal_grouping": {
"label_names": [
"<string>"
],
"signal_per_series": true
},
"sli": {
"additional_promql_filters": "cluster!~\"dev\"",
"custom_dimension_labels": [
"<string>"
],
"custom_indicator": {
"total_query_template": "<string>",
"bad_query_template": "<string>",
"good_query_template": "<string>"
},
"custom_timeslice_indicator": {
"condition": {
"op": "GEQ",
"value": 123
},
"query_template": "<string>",
"timeslice_size": "TIMESLICE_SIZE_ONE_MINUTE"
}
},
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
}curl --request POST \
--url https://tenant.chronosphere.io/api/v1/config/slos \
--header 'API-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'{
"slo": {
"name": "<string>",
"annotations": {},
"collection_ref": {
"slug": "<string>",
"type": "SIMPLE"
},
"created_at": "2023-11-07T05:31:56Z",
"definition": {
"burn_rate_alerting_config": [
{
"window": "<string>",
"budget": "50.0",
"labels": {},
"severity": "<string>"
}
],
"enable_burn_rate_alerting": true,
"objective": "99.9995",
"time_window": "4w"
},
"description": "<string>",
"labels": {},
"notification_policy_slug": "alerting_notification_policy",
"signal_grouping": {
"label_names": [
"<string>"
],
"signal_per_series": true
},
"sli": {
"additional_promql_filters": "cluster!~\"dev\"",
"custom_dimension_labels": [
"<string>"
],
"custom_indicator": {
"total_query_template": "<string>",
"bad_query_template": "<string>",
"good_query_template": "<string>"
},
"custom_timeslice_indicator": {
"condition": {
"op": "GEQ",
"value": 123
},
"query_template": "<string>",
"timeslice_size": "TIMESLICE_SIZE_ONE_MINUTE"
}
},
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
}Chronosphere API token
If true, validates the specified configuration without creating the SLO. If the specified configuration is valid, the endpoint returns a partial response without the SLO. If the specified configuration is invalid, the endpoint returns an error.
The SLO to create.
Show child attributes
A successful response containing the created SLO.
Show child attributes