Bug 1763091 - "No datapoints found." after executing the Example Query
Summary: "No datapoints found." after executing the Example Query
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.3.0
Assignee: Andrew Pickering
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-18 08:50 UTC by Junqi Zhao
Modified: 2020-01-23 11:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-23 11:08:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
"No datapoints found." after executing the Example Query (251.45 KB, image/png)
2019-10-18 08:50 UTC, Junqi Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 3254 0 None None None 2019-11-06 06:46:05 UTC
Red Hat Product Errata RHBA-2020:0062 0 None None None 2020-01-23 11:08:40 UTC

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


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