Get CPU, memory and network use of a deployment
edgegap_get_deployment_metricsRead-only
Summarise a deployment's resource use over time: CPU, CPU throttling, memory and network, each as latest, average and peak, with the API's own labels.
Instructions
Summarise a deployment's resource use over time: CPU, CPU throttling, memory and network, each as latest, average and peak, with the API's own labels. Use it to size a version (cpu_units, memory_mb) from a real match, or to check whether a crash was memory or CPU starvation before redeploying. Defaults to the whole life of the deployment.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | Averaging step, e.g. "30s" or "5m". Default: the API's. | |
| end_time | No | ISO 8601. Default: now, or when it stopped. | |
| request_id | Yes | The request_id of the deployment. | |
| start_time | No | ISO 8601. Default: when the deployment started. |