Slos Service

Get Slo

Returns the details of the specified SLO.

get/slo/slos/v1/{id}

Request

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

Response

Example response

{
  "slo": {
    "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.