Retrieve virtual machine performance metrics
GET/core/virtual-machines/:vm_id/metrics
Retrieves performance metrics data for a virtual machine. Provide the virtual machine ID in the path to retrieve the following data for the specified virtual machine: CPU usage, memory usage (RAM), network.in, network.out, disk.read, and disk.write. The optional duration parameter can be used to specify the period for retrieving performance metrics; the default value will retrieve all available data. To learn more about virtual machine performance metrics, see Performance metrics.
Request
Responses
- 200
- 400
- 401
- 404
- 406
- 500
Virtual machine performance metrics have been successfully retrieved.
Bad Request
Unauthorized
Not Found
Not Acceptable
Internal Server Error
Was this page helpful?