Skip to main content

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

Virtual machine performance metrics have been successfully retrieved.