Bug 1873087

Summary: Update reports that count to display the exact number
Product: [oVirt] ovirt-engine-dwh Reporter: Aviv Litman <alitman>
Component: GrafanaAssignee: Aviv Litman <alitman>
Status: CLOSED CURRENTRELEASE QA Contact: Ivana Saranova <isaranov>
Severity: high Docs Contact:
Priority: high    
Version: 4.4.1CC: lleistne, mlehrer
Target Milestone: ovirt-4.4.3Flags: pm-rhel: ovirt-4.4+
pm-rhel: planning_ack+
alitman: devel_ack?
lleistne: testing_ack+
Target Release: 4.4.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-dwh-4.4.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-11 06:39:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1879377    
Attachments:
Description Flags
grafana-number_of_active_vms
none
grafana-number_of_active_vms_hover none

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.