Hide Forgot
Created attachment 1196323 [details] sparkline CPU Description of problem: on sparkline for CPU are drawn some changes, but the tooltip says 0% Version-Release number of selected component (if applicable): ovirt-engine-dashboard-1.0.3-1.el7ev.x86_64 How reproducible: always Steps to Reproduce: 1. install new engine or stop all VM for some time (for few hours) 2. create new VM with no OS, assign a disk and run it 3. wait 15-20 minutes and reload the Dashboard Actual results: sparkline changes and tooltip shows 0% Expected results: tooltip shows 0.x% or <1% Additional info: I assume that the last day values are counted as avarage for sample values for every X minutes and so that is not equal to 1, but its confusing to see always 0%, even if the sparkline changes
*** Bug 1371919 has been marked as a duplicate of this bug. ***
for cpu usage lower than 1 still shows 0.0% in ovirt-engine-dashboard-1.0.5-1.el7ev.x86_64
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
Created attachment 1214501 [details] still_0
Greg, can you take a look?
Yes sir
The second patch (65925) tests if the percent to be rendered will be greater then 0% but less then 0.1%. If it is in this range, "<0.1%" will be shown. If the percent is 0, "0.0%" will be shown. This change allows easy differentiation between 0 and a value smaller then the smallest formatted value of "0.1".
values in cpu tooltips are OK verified in ovirt-engine-dashboard-1.1.0-0.4.20161128git5ed6f96.el7.centos.noarch