[ https://issues.apache.org/jira/browse/CLOUDSTACK-9675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15769523#comment-15769523 ]
ASF GitHub Bot commented on CLOUDSTACK-9675: -------------------------------------------- Github user rashmidixit commented on the issue: https://github.com/apache/cloudstack/pull/1826 @rhtyd - There have been four things fixed here. I have explained each commit below. Your review/comments is most appreciated. 1. Goto Zone metrics or Hosts metrics. NUmerical values are not listed under Mem Usage and Mem Allocation columns. Instead 'NaN' is displayed - Mainly happening due to missing checks for undefined. 2. Create a Windows instance on a Xen cluster. No IOPS data is generated or shown in the Disk Usage Tab for that Instance: In some cases the diskiops from API comes back as 0. In this case, calculated it based on disk read and write values. 3. Changing storage.overprovisioning factor should cause changed values in storage metrics. This doesnt happen currently: The disk overprovisioning factor was not considered when calculating metrics 'disk total' and 'disk allocated'. Added this in. 4. Allocated memory is not correctly calculated on Hosts Metrics page for a xen server with multiple instances: The value being returned from API was % value. The Host metric page shows this in GB. Converted it correctly. > Cloudstack Metrics: Miscellaneous bug fixes > ------------------------------------------- > > Key: CLOUDSTACK-9675 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9675 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Affects Versions: 4.7.1 > Reporter: Rashmi Dixit > Assignee: Rashmi Dixit > Fix For: 4.9.0 > > > There are a number of issues in cloudstack metrics feature > 1. Goto Zone metrics or Hosts metrics. NUmerical values are not listed under > Mem Usage and Mem Allocation columns. Instead 'NaN' is displayed. > 2. Create a Windows instance on a Xen cluster. No IOPS data is generated or > shown in the Disk Usage Tab for that Instance. > 3. Changing storage.overprovisioning factor should cause changed values in > storage metrics. This doesnt happen currently. > 4. Allocated memory is not correctly calculated on Hosts Metrics page for a > xen server with multiple instances. -- This message was sent by Atlassian JIRA (v6.3.4#6332)