JoaoJandre opened a new pull request, #8782: URL: https://github.com/apache/cloudstack/pull/8782
### Description For both the `listVirtualMachines` and `listVirtualMachineMetrics` APIs, by default, ACS queries all VM details (the `details` parameter is default `all`) and consequently queries the `cloud.vm_stats` table for each VM, creating a summary of statistics. Therefore, every process carried out in the UI that uses the `listVirtualMachines` API also loads the VM statistics, which can cause slowdowns depending on the number of records. The `listVirtualMachines` API was changed to not list the VM's metrics by default. ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [X] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) - [ ] build/CI ### Feature/Enhancement Scale or Bug Severity #### Feature/Enhancement Scale - [X] Major - [ ] Minor #### Bug Severity - [ ] BLOCKER - [ ] Critical - [ ] Major - [ ] Minor - [ ] Trivial ### How Has This Been Tested? -- 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: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org