Bug 1873087 - Update reports that count to display the exact number
Summary: Update reports that count to display the exact number
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-dwh
Classification: oVirt
Component: Grafana
Version: 4.4.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.4.3
: 4.4.3
Assignee: Aviv Litman
QA Contact: Ivana Saranova
URL:
Whiteboard:
Depends On:
Blocks: 1879377
TreeView+ depends on / blocked
 
Reported: 2020-08-27 10:38 UTC by Aviv Litman
Modified: 2020-11-11 06:39 UTC (History)
2 users (show)

Fixed In Version: ovirt-engine-dwh-4.4.3
Clone Of:
Environment:
Last Closed: 2020-11-11 06:39:36 UTC
oVirt Team: Metrics
Embargoed:
pm-rhel: ovirt-4.4+
pm-rhel: planning_ack+
alitman: devel_ack?
lleistne: testing_ack+


Attachments (Terms of Use)
grafana-number_of_active_vms (16.10 KB, image/png)
2020-10-29 13:32 UTC, Ivana Saranova
no flags Details
grafana-number_of_active_vms_hover (19.76 KB, image/png)
2020-10-29 13:33 UTC, Ivana Saranova
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 110986 0 master MERGED Update executive dashboards to show exact number of entities 2020-10-26 13:20:49 UTC
oVirt gerrit 110988 0 master MERGED Update inventory dashboards to show exact number of entities 2020-10-26 13:21:03 UTC
oVirt gerrit 110990 0 master MERGED Update service level dashboards to show exact number of entities 2020-10-26 13:20:48 UTC
oVirt gerrit 110993 0 master MERGED Update trend dashboards to show exact number of entities 2020-10-26 13:20:48 UTC

Description Aviv Litman 2020-08-27 10:38:29 UTC
Description of problem:

We want to update reports that count entities or resources to show the exact number of for any scale.

Version-Release number of selected component (if applicable):
4.4.1

How reproducible:
100%

Steps to Reproduce:

1.go to Grafana and choose relevant folder, dashboard and report. 
for example: oVirt Executive Dashboards -> Executive Dashboard -> Active Virtual Machines by OS (BR18)
2. choose a DB with more then 1000 active virtual machine    
3. see that the report show round number (n=number of vms; 1k/2k/..nk) 

Actual results:
reports that count entities/resources and have more than 1000 entities/resources show the round number.

Expected results:
reports that count entities/resources and have more than 1000 entities/resources show the exact number.

Comment 3 Ivana Saranova 2020-10-29 13:32:30 UTC
Created attachment 1725080 [details]
grafana-number_of_active_vms

Steps:
1.go to Grafana and choose relevant folder, dashboard and report. 
for example: oVirt Executive Dashboards -> Executive Dashboard -> Active Virtual Machines by OS (BR18)
2. choose a DB with more then 1000 active virtual machine    
3. see that the report show round number (n=number of vms; 1k/2k/..nk) 

Results:
The report shows more closely rounded number of VMs (e.g. 1200, 1300, 1400,...). When hovering over the graph, the exact number of VMs is shown. (Attaching screenshot) This seems reasonable, though I'm not sure if this is what was expected. If you feel like this is not the expected result, feel free to reopen the bug.

Verified in:
ovirt-engine-4.4.3.7-0.22.el8ev.noarch
ovirt-engine-dwh-4.4.3.1-1.el8ev.noarch

Comment 4 Ivana Saranova 2020-10-29 13:33:41 UTC
Created attachment 1725081 [details]
grafana-number_of_active_vms_hover

Comment 5 Sandro Bonazzola 2020-11-11 06:39:36 UTC
This bugzilla is included in oVirt 4.4.3 release, published on November 10th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.3 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.