Cloud
The metrics object
A service's resource use over a range: CPU, memory and network out, for the service and each replica, from one-minute windows.
Attributes
rangestring: 1h, 3h, 24h, 7d or 30d.step_snumber: Seconds per point.seriesobject: cpu_millis, memory_mb and network_tx_bytes, each a list of [unix, value].replicasarray: The same series per replica.limitsobject: The limits in force.
Example
{
"data": {
"range": "24h",
"step_s": 300,
"series": {"cpu_millis":[[1764324900,412]],"memory_mb":[[1764324900,618]]},
"replicas": [{"replica":"r1","cpu_millis":[[1764324900,205]]}],
"limits": {"cpu_millis":1000,"memory_mb":1024}
}
}