Bug 1724916 - "No Prometheus datapoints found." in prometheus graph after navigating to Query Browser
Summary: "No Prometheus datapoints found." in prometheus graph after navigating to Que...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.2.0
Assignee: Andrew Pickering
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-28 05:37 UTC by Junqi Zhao
Modified: 2019-10-16 06:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:32:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
"No Prometheus datapoints found." in prometheus graph (78.85 KB, image/png)
2019-06-28 05:37 UTC, Junqi Zhao
no flags Details
query browser page (73.02 KB, image/png)
2019-07-31 00:49 UTC, Junqi Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:32:57 UTC

Description Junqi Zhao 2019-06-28 05:37:46 UTC
Created attachment 1585454 [details]
"No Prometheus datapoints found." in prometheus graph

Description of problem:
Login cluster console as cluster-admin, click "Monitoring -> Query Browser",
prometheus graph shows error "No Prometheus datapoints found."

Should not show this error, since user have not search anything in Query Browser

Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-06-27-204704

How reproducible:
Always

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

Actual results:
"No Prometheus datapoints found." in prometheus graph when navigating to Query Browser

Expected results:
No error in the prometheus graph

Additional info:

Comment 1 Andrew Pickering 2019-07-30 13:32:28 UTC
Should have been fixed by https://github.com/openshift/console/pull/2025

Comment 3 Junqi Zhao 2019-07-31 00:48:37 UTC
Issue is fixed, add an empty state for the case where no query has been entered and also
a suggested example query, see the attached picture.

payload: 4.2.0-0.nightly-2019-07-29-154123

Comment 4 Junqi Zhao 2019-07-31 00:49:21 UTC
Created attachment 1594879 [details]
query browser page

Comment 5 errata-xmlrpc 2019-10-16 06:32:46 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-2019:2922


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