Slos Service

List Slos

Returns SLOs matching the given criteria.

get/slo/slos/v1

Request

  • Base URL: https://api.eu1.coralogix.com/mgmt/openapi/5
  • URL: https://api.eu1.coralogix.com/mgmt/openapi/5/slo/slos/v1
  • Auth: API key in header Authorization

Query parameters

[
  {
    "field": {
      "labelName": "environment",
      "serviceName": "payment-service"
    }
  }
]

Response

Example response

{
  "slos": [
    {
      "apmSli": {
        "filters": [
          {
            "key": "environment",
            "value": "production",
            "values": [
              "500"
            ]
          }
        ],
        "groupingKeys": [
          "environment",
          "region"
        ],
        "latencyConfig": {
          "quantile": {
            "percentile": 0.95
          },
          "threshold": 500
        },
        "services": [
          "my-service",
          "payment-service"
        ]
      },
      "apmSliMetadata": {
        "filters": [
          {
            "key": "environment",
            "value": "production",
            "values": [
              "500"
            ]
          }
        ],
        "groupingKeys": [
          "environment",
          "region"
        ],
        "latencyConfig": {
          "quantile": {
            "percentile": 0.95
          },
          "threshold": 500
        },
        "services": [
          "my-service",
          "payment-service"
        ]
      },
      "creator": "test@domain.com",
      "description": "A brief description of my SLO",
      "id": "b11919d5-ef85-4bb1-8655-02640dbe94d9",
      "name": "Example Slo Name",
      "ownershipTags": {
        "environment": {
          "labelKeys": [
            "deployment_environment",
            "k8s_namespace"
          ],
          "resolvedValues": [
            "checkout-api",
            "production",
            "staging",
            "payments-ns"
          ],
          "staticValues": [
            "checkout-api"
          ]
        },
        "service": {
          "labelKeys": [
            "deployment_environment",
            "k8s_namespace"
          ],
          "resolvedValues": [
            "checkout-api",
            "production",
            "staging",
            "payments-ns"
          ],
          "staticValues": [
            "checkout-api"
          ]
        },
        "team": {
          "labelKeys": [
            "deployment_environment",
            "k8s_namespace"
          ],
          "resolvedValues": [
            "checkout-api",
            "production",
            "staging",
            "payments-ns"
          ],
          "staticValues": [
            "checkout-api"
          ]
        }
      },
      "requestBasedMetricSli": {
        "goodEvents": {
          "query": "sum(rate(http_requests_total{status=\"200\"}[5m]))"
        },
        "totalEvents": {
          "query": "sum(rate(http_requests_total{status=\"200\"}[5m]))"
        }
      },
      "revision": {
        "revision": 1
      },
      "targetThresholdPercentage": 99.999,
      "type": "request",
      "windowBasedMetricSli": {
        "query": {
          "query": "sum(rate(http_requests_total{status=\"200\"}[5m]))"
        },
        "threshold": 0.95
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.