JoaoJandre opened a new pull request, #6245:
URL: https://github.com/apache/cloudstack/pull/6245

   ### Description
   
   This PR aims to fix various inconsistencies in the front and back-end 
concerning the VM statistics. I mainly enhanced the descriptions, adding 
explanations and/or context, but also corrected some errors in the units of 
measurements (there were cases of metrics being represented in bytes when the 
correct one should be KiB, for example).
   Also, many inconsistencies were tested and found in the way stats were being 
collected for the KVM hypervisor. Namely, when generating the 
`VmMetricsResponse`, the network usage was being overwritten with the disk 
usage, so neither disk nor network usage was correct. Another issue was that 
memory usage wasn't being properly collected.
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [X] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [X] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [X] Major
   - [ ] Minor
   - [ ] Trivial
   
   
   ### Screenshots (if appropriate):
   
   
   ### How Has This Been Tested?
   This was tested in a local lab, by creating VMs and comparing their internal 
stats with the ones gathered by CloudStack.
   


-- 
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]

Reply via email to