Hi CloudStack Support Team,
I am currently facing an issue when trying to retrieve the usage history metrics for a specific Virtual Machine (VM). Despite passing the correct VM UUID and required parameters, the response is empty. Below is the code I am using to fetch the metrics:
// Add the required parameters here
params := Client.VirtualMachine.NewListVirtualMachinesUsageHistoryParams()
params.SetId(vmUUID)
// Get Virutal Machine Metrics
vmMetrics, err := Client.VirtualMachine.ListVirtualMachinesUsageHistory(params)
fmt.Println(vmMetrics)
However, I am getting the empty response
&{1 []}
Could you kindly investigate why no metrics are returned for the specified VM and suggest possible solutions?
Looking forward to your prompt assistance.
Thank you!
Hi CloudStack Support Team,
I am currently facing an issue when trying to retrieve the usage history metrics for a specific Virtual Machine (VM). Despite passing the correct VM UUID and required parameters, the response is empty. Below is the code I am using to fetch the metrics:
However, I am getting the empty response
&{1 []}Could you kindly investigate why no metrics are returned for the specified VM and suggest possible solutions?
Looking forward to your prompt assistance.
Thank you!