Get VM metrics
get_vm_metricsRetrieve CPU, memory, network, and disk usage metrics for a virtual machine over a specified number of hours to monitor performance and diagnose resource issues.
Instructions
Get CPU, memory, network, and disk usage metrics for a VM over the last N hours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | VM identifier (UUID), from list_vms or create_vm. | |
| hours | Yes | How many hours of metrics history to return. | |
| sample_period | No | Sampling period in seconds. Omit for the API default. |