stackbill opened a new issue, #97:
URL: https://github.com/apache/cloudstack-go/issues/97
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!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]