Bug 1984365

Summary: Dashboard Prometheus/Overview can't filter instance by job
Product: OpenShift Container Platform Reporter: hongyan li <hongyli>
Component: MonitoringAssignee: Philip Gough <pgough>
Status: CLOSED ERRATA QA Contact: hongyan li <hongyli>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: amuller, anpicker, aos-bugs, erooth, jhadvig, jokerman, juzhao, spadgett, spasquie
Target Milestone: ---   
Target Release: 4.9.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: 2021-10-18 17:40:26 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:
Attachments:
Description Flags
prometheus overview screenshot none

Description hongyan li 2021-07-21 10:31:51 UTC
Created attachment 1804049 [details]
prometheus overview screenshot

Description of problem:
Dashboard Prometheus/Overview can't filter instance by job

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

How reproducible:
always

Steps to Reproduce:
1.Open Observe-Dashboards
2.Select Dashboard Prometheus/Overview 
3. Select a job, all instances display from drop&down box

Actual results:
Select a job, all instances display from drop&down box

Expected results:
Select a job, the corresponding instances display from drop&down box

Additional info:

Comment 2 Andrew Pickering 2021-07-28 03:46:38 UTC
This is not a Console issue, but rather an issue with the dashboard definition. We see the same behavior in Grafana.

The query that generates the Instance options is `label_values(prometheus_build_info, instance)`, so it is not filtering by job. Not sure if it should be?

Comment 4 hongyan li 2021-08-23 02:00:19 UTC
Test with 4.9.0-0.nightly-2021-08-22-070405 
Dashboard Prometheus/Overview can filter instance by job now

Comment 11 errata-xmlrpc 2021-10-18 17:40:26 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), 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/RHSA-2021:3759