latestOpenAPI 3.0.12026-08-10114644.5 KB
998cc08df103
Metrics
Get pod CPU metrics
Returns CPU usage ratio time series. Unit: ratio, where 1.0 means 100% of requested CPU cores.
get/v2/metrics/cpu/pods/{pod_id}
Path parameters
pod_idinteger required
SaaS platform Pod ID
Query parameters
startinteger
Unix timestamp in milliseconds. Example: 1747898910001. If only start is provided, end defaults to start + 1h.
endinteger
Unix timestamp in milliseconds. Example: 1747902510001. If only end is provided, start defaults to end - 1h.
step'auto' | '30s' | '5m' | '15m' | '1h' | '4h' | '1d'
Time-series resolution step. Max windows: 30s=3h, 5m=12h, 15m=2d, 1h=7d, 4h=30d, 1d=90d.
Response
OK