Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Get the per-minute trend of memory usage by node in the cluster, categorized by total, available, used, and used-ratio.
Start date for the query
End date for the query
OK
OK
GET /v1/monitoring-nodes/metric/memory-usage/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"measure": "total",
"node": "apps-gpu-v100"
},
"samples": [
16607899648,
16607899648,
16607899648
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "available",
"node": "apps-gpu-v100"
},
"samples": [
12771897344,
12770172928,
12823642112
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "used",
"node": "apps-gpu-v100"
},
"samples": [
3836002304,
3837726720,
3784257536
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "used-ratio",
"node": "apps-gpu-v100"
},
"samples": [
0.23097,
0.23108,
0.22786,
0.23104
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
}
]GET /v1/monitoring-nodes/metric/load/result/current?clusterIds=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"measure": "load1",
"node": "apps-gpu-v100"
},
"timestamp": 1687826040,
"value": 0.85
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "load5",
"node": "apps-gpu-v100"
},
"timestamp": 1687826040,
"value": 0.72
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "load15",
"node": "apps-gpu-v100"
},
"timestamp": 1687826040,
"value": 0.73
}
]Get the per-minute trend of CPU load by node in the cluster.
Start date for the query
End date for the query
OK
OK
Get the per-minute trend of CPU usage by state (User, System, Steal, Nice, Irq, Softirq, iowait, Idle) for cluster nodes.
Start date for the query
End date for the query
OK
OK
Get the per-minute trend of CPU usage by node in the cluster.
Start date for the query
End date for the query
OK
OK
Get the per-minute trend of disk I/O speed change rate by node in the cluster.
Start date for the query
End date for the query
OK
OK
Get the per-minute trend of disk usage by node in the cluster, categorized by total, available, available_ratio, and used Disk.
Start date for the query
End date for the query
OK
OK
OK
OK
OK
OK
GET /v1/monitoring-nodes/metric/disk-detail-usage/result/current?clusterIds=text HTTP/1.1
Accept: */*
GET /v1/monitoring-nodes/metric/traffic-by-device/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"device": "cali608295ca688",
"measure": "inbound",
"node": "apps-gpu-v100"
},
"samples": [
318.2,
340.33333,
323.4,
317.93333
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"device": "cali608295ca688",
"measure": "outbound",
"node": "apps-gpu-v100"
},
"samples": [
459.53333,
580.13333,
492.56667
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]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
}
]GET /v1/monitoring-nodes/metric/network/result/current?clusterIds=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"measure": "inbound",
"node": "apps-gpu-v100"
},
"timestamp": 1687841100,
"value": 421652.79999999993
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "outbound",
"node": "apps-gpu-v100"
},
"timestamp": 1687841100,
"value": 691668.5555555555
}
]GET /v1/monitoring-nodes/metric/load/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"measure": "load1",
"node": "apps-gpu-v100"
},
"samples": [
0.06,
0.05125,
0.0775
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "load5",
"node": "apps-gpu-v100"
},
"samples": [
0.06375,
0.06,
0.06375
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "load15",
"node": "apps-gpu-v100"
},
"samples": [
0.07625,
0.07375,
0.075
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
}
]GET /v1/monitoring-nodes/metric/cpu-usage-by-mode/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"mode": "softirq",
"node": "apps-gpu-v100"
},
"samples": [
0.00097,
0.00096,
0.00088
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"mode": "steal",
"node": "apps-gpu-v100"
},
"samples": [
0,
0,
0
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
}
]GET /v1/monitoring-nodes/metric/cpu-usage/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"measure": "usage-cpu",
"node": "apps-gpu-v100"
},
"samples": [
0.07592,
0.07889,
0.07764
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]GET /v1/monitoring-nodes/metric/disk-io/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"device": "dm-0",
"node": "apps-gpu-v100"
},
"samples": [
0.2952,
0.29763,
0.25898
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]GET /v1/monitoring-nodes/metric/disk-usage/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"device": "/dev/mapper/centos-root",
"measure": "total",
"node": "apps-gpu-v100"
},
"samples": [
982015008768,
982015008768,
982015008768
],
"timestamps": [
1687741080,
1687741140,
1687741200,
1687741260
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"device": "/dev/mapper/centos-root",
"measure": "available",
"node": "apps-gpu-v100"
},
"samples": [
966450876416,
966450876416,
966464471040
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"device": "/dev/mapper/centos-root",
"measure": "used",
"node": "apps-gpu-v100"
},
"samples": [
15564132352,
15564132352,
15550537728
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"device": "/dev/mapper/centos-root",
"measure": "available_ratio",
"node": "apps-gpu-v100"
},
"samples": [
0.98415,
0.98415,
0.98416,
0.98455
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
][
{
"metrics": {
"cluster": "thingcluster",
"device": "/dev/mapper/centos-root",
"measure": "used_ratio",
"mountpoint": "/",
"namespace": "cocktail-system",
"node": "apps-gpu-v100",
"pod": "cocktail-api-cmdb-0",
"service": "api-cmdb"
},
"timestamp": "1687840740",
"value": "0.015729446533998215"
}
]GET /v1/monitoring-nodes/metric/capacity/result/current?clusterIds=text HTTP/1.1
Accept: */*
[
{
"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
}
]