Get cluster node availability

Get cluster node availability

get

Get the available CPU (Core) and memory (Byte) capacity for cluster nodes.

Query parameters
clusterIdsstringRequired
nodeIdsstringOptional
Responses
200
OK
*/*
get
GET /v1/monitoring-nodes/metric/capacity/result/current?clusterIds=text HTTP/1.1
Host: 
Accept: */*
200

OK

[
  {
    "metrics": {
      "cluster": "thingcluster",
      "measure": "capacity-cpu",
      "node": "apps-gpu-v100"
    },
    "timestamp": 1687842900,
    "value": 8
  },
  {
    "metrics": {
      "cluster": "thingcluster",
      "measure": "capacity-memory",
      "node": "apps-gpu-v100"
    },
    "timestamp": 1687842900,
    "value": 16607899648
  }
]

Was this helpful?