Get cluster node uptime
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
200
OK
*/*
get
GET /v1/monitoring-nodes/metric/uptime/result/current?clusterIds=text HTTP/1.1
Host:
Accept: */*
200
OK
[
{
"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
}
]
Was this helpful?