Get trend of restarted pods count in namespace
Get the trend of the number of pods restarted per minute in the namespace.
Query parameters
clusterIdsstringRequired
namespacesstringOptional
startstringRequired
endstringRequired
Responses
200
OK
*/*
get
GET /v1/monitoring-ns/metric/pod-restart/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Host:
Accept: */*
200
OK
[
{
"metrics": {
"cluster": "thingcluster",
"container": "kube-scheduler",
"namespace": "cocktail-system",
"pod": "cocktail-api-cmdb-0",
"workload": "cocktail-api-cmdb"
},
"samples": [
0,
0,
0
],
"timestamps": [
1687741080,
1687741140,
1687741200
],
"values": null
}
]
PreviousGet the number of ready pods in the namespaceNextGet trend of terminated pods count in namespace
Was this helpful?