Bug 1926188

Summary: Fix vms disks usage panels to show the average
Product: [oVirt] ovirt-engine-dwh Reporter: Aviv Litman <alitman>
Component: GrafanaAssignee: Aviv Litman <alitman>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Novotny <pnovotny>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4.4CC: gdeolive, mperina, sradco
Target Milestone: ovirt-4.4.5Flags: pm-rhel: ovirt-4.4+
gdeolive: testing_ack+
Target Release: 4.4.5.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-dwh-4.4.5.4 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-22 10:22:22 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:
Attachments:
Description Flags
Top 5 Most Utilized Disks Read and Write Rates (over time) (BR10A)
none
Top 5 Most Utilized Disks - Read Rate (BR10C)
none
Top 5 Most Utilized Disks - Write Rate (BR10C) none

Description Aviv Litman 2021-02-08 12:38:52 UTC
Created attachment 1755708 [details]
Top 5 Most Utilized Disks Read and Write Rates (over time) (BR10A)

Description of problem:
in 3 panels that show vms disks read and write rates (over time),
There is a bug in the queries - in some places in the query the maximum is taken instead of the average.
We want to display the average usage per point in time and not the maximum so this needs to be corrected.  

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

How reproducible:
100%

Steps to Reproduce:
1.go to 'Trend Dashboard':

->Virtual Machines Resource Usage Dashboard:
2. go to 'Top 5 Most Utilized Disks - Read Rate (BR10C)' and 'Top 5 Most Utilized Disks - Write Rate (BR10C)'

->Virtual Machines Trend Dashboard:
2. go to 'Top 5 Most Utilized Disks Read and Write Rates (over time) (BR10A)'

Actual results:
The queries selects the MAX write or read rates in some places in the query

Expected results:
The queries selects the AVG write or read rates in all places in the query 

Additional info:

Comment 1 Aviv Litman 2021-02-08 12:40:17 UTC
Created attachment 1755709 [details]
Top 5 Most Utilized Disks - Read Rate (BR10C)

Comment 2 Aviv Litman 2021-02-08 12:41:15 UTC
Created attachment 1755710 [details]
Top 5 Most Utilized Disks - Write Rate (BR10C)

Comment 4 Sandro Bonazzola 2021-03-22 12:57:20 UTC
This bugzilla is included in oVirt 4.4.5 release, published on March 18th 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.5 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.