Replace Slo Pre-Validate Alerts
https://api.eu1.coralogix.com/mgmt/openapi/5/slo/validated/v1Validates and updates an SLO.
Authorizations
Request
Body
Definition of an SLO
- oneOf
- Option 1
- Option 2
- Option 3
- Option 4
Deprecated: use sliDefinition with an apm source instead. services, filters and groupingKeys move to the source's selector. errorConfig maps to sliDefinition.requestBased.apm.availability. latencyConfig maps to sliDefinition.windowBased.apm.latency: latencyConfig.timeWindow moves to sliDefinition.windowBased.window, latencyConfig.threshold becomes thresholdMs, and quantile and average keep their names.
List of labels.
Human-readable display name for the SLO. Required. A missing or empty name is rejected.
Possible values: non-empty
Example Slo NameService, environment, and team ownership configuration for the SLO group and its permutations.
Product type: APM for application performance monitoring SLOs, UNSPECIFIED for manual/custom SLOs
Possible values: [SLO_PRODUCT_TYPE_UNSPECIFIED, SLO_PRODUCT_TYPE_APM]
SLO_PRODUCT_TYPE_APMDeprecated: use sliDefinition.requestBased.custom instead, which takes the same goodEvents and totalEvents queries.
Definition of the SLI: how it counts (request-based or window-based) and where its values come from (custom metric queries or APM). Replaces the deprecated requestBasedMetricSli, windowBasedMetricSli and apmSli. A request must set either sliDefinition or one of the deprecated fields. When sliDefinition is set, it takes precedence and the deprecated fields are ignored. Responses always include sliDefinition, and also include the matching deprecated field when the SLI can be expressed with it.
Time frame the SLO is evaluated over. The day-based values, SLO_TIME_FRAME_1_DAY through SLO_TIME_FRAME_30_DAYS, are rolling windows that cover that many days up to the time of evaluation. SLO_TIME_FRAME_CALENDAR_MONTH covers the current calendar month in UTC, from the start of the month up to the time of evaluation, and starts over at the beginning of each month. SLO results are calculated per whole minute in UTC, so the window used may differ from these bounds by up to one minute.
Possible values: [SLO_TIME_FRAME_UNSPECIFIED, SLO_TIME_FRAME_1_DAY, SLO_TIME_FRAME_7_DAYS, SLO_TIME_FRAME_14_DAYS, SLO_TIME_FRAME_21_DAYS, SLO_TIME_FRAME_28_DAYS, SLO_TIME_FRAME_30_DAYS, SLO_TIME_FRAME_CALENDAR_MONTH]
Target compliance percentage threshold for the SLO (e.g., 99.9 for three nines).
99.999Deprecated: use sliDefinition.windowBased instead. Set window and missingDataStrategy there, and query, comparisonOperator and threshold in its custom source.
Response
Response with validated alerts before replacing an existing SLO.
The alerts validation result.