arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Get cluster node uptime

hashtag
Get cluster node uptime

get

Get the uptime of cluster nodes. The operation time represents the duration (without restarting) after the booting of the node (server).

Query parameters
clusterIdsstringRequired
nodeIdsstringOptional
Responses
chevron-right
200

OK

*/*
get
/v1/monitoring-nodes/metric/uptime/result/current
200

OK

GET /v1/monitoring-nodes/metric/uptime/result/current?clusterIds=text HTTP/1.1
Accept: */*
[
  {
    "metrics": {
      "cluster": "thingcluster",
      "measure": "booting",
      "node": "apps-gpu-v100"
    },
    "timestamp": 1687842300,
    "value": 1669889847
  },
  {
    "metrics": {
      "cluster": "thingcluster",
      "measure": "running",
      "node": "apps-gpu-v100"
    },
    "timestamp": 1687842300,
    "value": 1687842293.5012803
  }
]