Bug 1763091

Summary: "No datapoints found." after executing the Example Query
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: Management ConsoleAssignee: Andrew Pickering <anpicker>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: low Docs Contact:
Priority: low    
Version: 4.3.0CC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-23 11:08:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
"No datapoints found." after executing the Example Query none

Description Junqi Zhao 2019-10-18 08:50:25 UTC
Created attachment 1627161 [details]
"No datapoints found." after executing the Example Query

Description of problem:
Developer Query Browser console, select one project from Projects drop down menu, such as openshift-monitoring, and click "Insert Example Query" button, "No datapoints found." for the metrics

Example Query is: sum(sort_desc(sum_over_time(ALERTS{alertstate="firing"}[24h]))) by (alertname)

Checked API, response is 
{"status":"success","data":{"resultType":"matrix","result":[]}}

the cause maybe ALERTS does not have "namespace" label

Version-Release number of selected component (if applicable):
4.3.0-0.nightly-2019-10-17-202206

How reproducible:
Always

Steps to Reproduce:
1. See the description
2.
3.

Actual results:
"No datapoints found." after executing the Example Query

Expected results:
Show correct result

Additional info:

Comment 2 Yadan Pei 2019-11-07 06:55:10 UTC
Monitoring -> Metrics page, click on 'Insert Example Query', the query is "sum(sort_desc(sum_over_time(ALERTS{alertstate="firing"}[24h]))) by (alertname)" and there is data returned 

Verified on 4.3.0-0.nightly-2019-11-06-215135

Comment 3 Junqi Zhao 2019-11-07 06:59:59 UTC
This issue in in Developer Query Browser console

Comment 5 Yadan Pei 2019-11-07 08:25:38 UTC
Thanks for watching : ) my mistake

Comment 8 errata-xmlrpc 2020-01-23 11:08:20 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, 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:0062