correlate

Create a list of goal nodes related to a starting point.

Changed on

Specify a set of start objects, as queries or serialized objects, and a goal class. Returns a list of all objects of the goal class that can be reached from a start object.

post/lists/goals

Request

  • Base URL: /api/v1alpha1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1alpha1/lists/goals
  • Auth: none declared

Request body

goalsClass[] required

Goal classes in DOMAIN:CLASS format, e.g. log:application, alert:alert

Example request

{
  "goals": [
    "k8s:Pod",
    "metric:metric"
  ],
  "start": {
    "constraint": {
      "end": "2017-07-21T17:32:28.1341231Z"
    },
    "queries": [
      "k8s:Pod:{\"namespace\":\"default\",\"name\":\"my-pod\"}"
    ]
  }
}

Response

OK

classstring required

Full class name.

countinteger

Number of results for this class, after de-duplication.

resultObject[]

Serialized result contents, may be large.

Changes

    • ○

      added the optional property /// to the response with the status

    • ●

      removed the request property //////////