Bug 1851029 - [RFE] Add to time based queries the samples table
Summary: [RFE] Add to time based queries the samples table
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-dwh
Version: 4.4.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.4.3-1
: 4.4.3
Assignee: Aviv Litman
QA Contact: Ivana Saranova
URL:
Whiteboard:
: 1889056 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-25 13:06 UTC by Aviv Litman
Modified: 2023-12-15 18:17 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Previously, time-based Grafana reports did not include the most recent two to three hours of sample data. With this update, you can now view sample data from that time period. For example, if you ran the report at 11:54, the report had data only until 9:00. Now the report has data until 11:54.
Clone Of:
Environment:
Last Closed: 2020-11-24 13:12:40 UTC
oVirt Team: Metrics
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5535641 0 None None None 2020-11-03 07:32:39 UTC
Red Hat Product Errata RHBA-2020:5215 0 None None None 2020-11-24 13:12:46 UTC
oVirt gerrit 109958 0 master MERGED Add to Executive Dashboard queries the samples table 2021-02-13 06:58:06 UTC
oVirt gerrit 110312 0 master MERGED Add to Trend Dashboard queries the samples table 2021-02-13 06:58:06 UTC
oVirt gerrit 111640 0 master MERGED Add to Inventory Dashboard queries the samples table 2021-02-13 06:58:06 UTC
oVirt gerrit 111658 0 master MERGED Add to Service Level Dashboard queries the samples table 2021-02-13 06:58:05 UTC

Description Aviv Litman 2020-06-25 13:06:38 UTC
Description of problem:

The time based queries displaying data based on hourly and daily tables, from that reason we can see updated data up to 02:00-02:59 hours back. 
We want to add those missing hours from the sample table.
In addition we want to specify the relevant column names in SELECT statement, to improve query runtime     

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


Actual results:

The issued queries use the hourly and daily tables.
The issued queries use '*' in the SELECT statement. 


Expected results:

The issued queries use the hourly, daily, and samples tables.
The issued queries use relevant column names in the SELECT statement.

Comment 3 Ameya Charekar 2020-10-20 07:57:18 UTC
*** Bug 1889056 has been marked as a duplicate of this bug. ***

Comment 9 Steve Goodman 2020-11-04 08:17:03 UTC
Please review the doc text:

====
Previously, time-based Grafana reports did not include two hours of sample data from hours 02:00-02:59.

With this update, you can now view sample data from those two hours.
===

Comment 10 Aviv Litman 2020-11-04 09:29:36 UTC
(In reply to Steve Goodman from comment #9)
> Please review the doc text:
> 
> ====
> Previously, time-based Grafana reports did not include two hours of sample
> data from hours 02:00-02:59.
> 
> With this update, you can now view sample data from those two hours.
> ===

Hi the description is inaccurate:

Previously, time-based Grafana reports did not include two to three hours of sample
data.

With this update, you can now view sample data from those hours.

Comment 11 Steve Goodman 2020-11-05 08:34:22 UTC
The doc_text is now updated:

Previously, time-based Grafana reports did not include the most recent two to three hours of sample data. With this update, you can now view sample data from that time period.

For example, if you ran the report at 11:54, the report had data only until 9:00. Now the report has data until 11:54.

Comment 12 Ivana Saranova 2020-11-10 23:33:57 UTC
Steps:
1) Go to Grafana, any timebased data sampling dashboard (e.g. Hosts Trend Dashboard)
2) Try various time ranges
3) Check that data is shown up until the current time and not 2-3 hours back

Results:
If minutes or hours time range is selected, the data is shown as expected. 
If Today (or Today so far) is selected, data is shown as expected.
If a time range containing days, weeks, months or years (e.g. Last 2 days, Last 30 days, etc.) was selected, the data is missing for the last 2 hours. 
If This week, This month or This year (and their so far options) are selected, the data is missing for the last 2 hours.

The data is shown for hourly or daily (withing the 24hour range) time ranges, therefore I'm moving this to VERIFIED as it matches the description of the RFE.

Verified in:
ovirt-engine-dwh-4.4.3.2-1.el8ev.noarch
ovirt-engine-4.4.3.10-0.1.el8ev.noarch

Comment 16 errata-xmlrpc 2020-11-24 13:12:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (RHV Manager (ovirt-engine) 4.4.z [ovirt-4.4.3] 0-day), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHBA-2020:5215


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