arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Get cluster restart pod growth rate

hashtag
Get cluster restart pod growth rate

get

Get the rate of pods restarted in the cluster.

Query parameters
clusterIdsstringRequired
startstringRequired

Start date for the query

endstringRequired

End date for the query

Responses
chevron-right
200

OK

*/*
get
/v1/monitoring-ns/metric/pod-restart/result/transition
200

OK

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
  }
]