Get Slo
https://api.eu1.coralogix.com/mgmt/openapi/5/slo/slos/v1/{id}Returns the details of the specified SLO.
Authorizations
Request
Path Parameters
Unique identifier.
Response
Response containing the details of a specific SLO.
- Option 1
- Option 2
- Option 3
- Option 4
Definition of an SLO
oneOfDeprecated: 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.
Deprecated: use sliDefinition instead. Read-only copy of apmSli, returned whenever apmSli is. Set by the server; sending it instead of apmSli is rejected.
RFC3339 timestamp of when the SLO was created. Set by the server; a value sent by the client is ignored.
Email or identifier of the user who created the SLO. Set by the server; a value sent by the client is ignored.
test@domain.comGrouping labels derived by the server from the SLI. A value sent by the client is rejected.
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.
Revision of the SLO. Set by the server; a value sent by the client is ignored.
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]
SLO type derived by the server from the SLI. A window-based metric SLI still reads SLO_TYPE_REQUEST. A value sent by the client must match the SLI type; a different value is rejected.
Possible values: [SLO_TYPE_REQUEST, SLO_TYPE_WINDOW]
SLO_TYPE_REQUESTTarget compliance percentage threshold for the SLO (e.g., 99.9 for three nines).
99.999Deprecated: SLO type string. Set by the server from the SLI; a value sent by the client is ignored.
requestTimestamp of the last update. Set by the server; a value sent by the client is ignored.
Deprecated: use sliDefinition.windowBased instead. Set window and missingDataStrategy there, and query, comparisonOperator and threshold in its custom source.