Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Get the per-minute trend of overall CPU and memory requests/limits in the cluster.
Start date for the query
End date for the query
OK
OK
GET /v1/monitoring-clusters/metric/quota/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"measure": "limit-cpu"
},
"samples": [
69.425,
69.425,
69.425
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "limit-memory"
},
"samples": [
108818182144,
108818182144,
108818182144
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "request-cpu"
},
"samples": [
25.935,
25.935,
25.935
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "request-memory"
},
"samples": [
44447803392,
44447803392,
44447803392
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
}
]Get the number of requests to the Kubernetes API server in the past 2 minutes, converted to requests per second.
Start date for the query
End date for the query
OK
OK
GET /v1/monitoring-clusters/metric/kube-api-server-request/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster"
},
"samples": [
41.46032,
39.72698,
41.31587
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]GET /v1/monitoring-ns/metric/pod-restart/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"container": "gateway",
"namespace": "cocktail-system",
"pod": "cocktail-api-cmdb-0",
"workload": "cocktail-api-cmdb"
},
"samples": [
0,
0,
0
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]Get the per-minute trend of the overall memory usage in the cluster, categorized by cache and working set.
Start date for the query
End date for the query
OK
OK
GET /v1/monitoring-clusters/metric/memory/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"measure": "usage-bytes"
},
"samples": [
85735514112,
85752094720,
85719015424
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]Get the per-minute trend of the number of pods by status (Unknown, Failed, Pending, Running, Succeeded).
Start date for the query
End date for the query
OK
OK
OK
OK
OK
OK
GET /v1/monitoring-clusters/metric/pod-restart-list/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"namespaces": "cocktail-system",
"pod": "cocktail-api-cmdb-0"
},
"timestamps": 1685621400,
"values": 1.3333333333333333
}
]GET /v1/monitoring-clusters/metric/network/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"measure": "inbound"
},
"samples": [
3175670.24444,
3497435.7,
3347020
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
},
{
"metrics": {
"cluster": "thingcluster",
"measure": "outbound"
},
"samples": [
3543429.77778,
3879819.71111,
3899043.1
],
"timestamps": [
1685620800,
1685620860,
1685620920
],
"values": null
}
]GET /v1/monitoring-clusters/metric/pod-running/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"phase": "Succeeded"
},
"samples": [
6,
6,
6
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]OK
OK
GET /v1/monitoring-clusters/metric/pod-cpu-top/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"namespace": "cocktail-system",
"pod": "cocktail-api-cmdb-0",
"workload": "cocktail-api-cmdb"
},
"samples": [
0.21448,
0.18462,
0.15429
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]Get the per-minute trend of the memory usage for the top 5 pods in the cluster with the highest memory usage.
Start date for the query
End date for the query
OK
OK
GET /v1/monitoring-clusters/metric/pod-memory-top/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"namespace": "cocktail-system",
"pod": "cocktail-api-cmdb-0",
"workload": "cocktail-api-cmdb"
},
"samples": [
1815183360,
1817915392,
1820692480
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]GET /v1/monitoring-clusters/metric/cpu/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Accept: */*
[
{
"metrics": {
"cluster": "thingcluster",
"measure": "usage-cpu"
},
"samples": [
6.05478,
6.39511,
6.44867
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]