Loading...
Get the uptime of cluster nodes. The operation time represents the duration (without restarting) after the booting of the node (server).
OK
대상 메트릭
클러스터 아이디
"thingcluster"
booting 또는 running
시간 당 타임스탬프
"클러스터, 노드의 타임스탬프별 가동시간"
const response = await fetch('/v1/monitoring-nodes/metric/uptime/result/current?clusterIds=text', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "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 } ]