Get the trend of total number of pods in namespace

Get the trend of total number of pods in namespace

get

Get the trend of the total number of pods deployed in the namespace on a per-minute basis.

Query parameters
clusterIdsstringRequired
namespacesstringOptional
startstringRequired
endstringRequired
Responses
200
OK
*/*
get
GET /v1/monitoring-ns/metric/total-pod-count/result/transition?clusterIds=text&start=text&end=text HTTP/1.1
Host: 
Accept: */*
200

OK

[
  {
    "metrics": {
      "cluster": "thingcluster",
      "namespace": "cocktail-system"
    },
    "samples": [
      55,
      55,
      55
    ],
    "timestamps": [
      1687741080,
      1687741140,
      1687741200
    ],
    "values": null
  }
]

Was this helpful?