Bug 2086469

Summary: No data about title 'API Request Duration by Verb - 99th Percentile' display on the dashboard 'API Performance'
Product: OpenShift Container Platform Reporter: hongyan li <hongyli>
Component: MonitoringAssignee: Andrew Pickering <anpicker>
Status: CLOSED ERRATA QA Contact: hongyan li <hongyli>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.11CC: amuller, anpicker, dpunia
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2088210 (view as bug list) Environment:
Last Closed: 2022-08-10 11:12:00 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:
Bug Depends On:    
Bug Blocks: 2088210    

Description hongyan li 2022-05-16 09:04:49 UTC
Description of problem:
No data about title 'API Request Duration by Verb - 99th Percentile' display on the dashboard 'API Performance'

Version-Release number of selected component (if applicable):
4.11.0-0.nightly-2022-05-11-054135

How reproducible:
always

Steps to Reproduce:
1. Open management console
2. Navigate to Observe->Dashboards
3. Select dashboard 'API Performance'
No data about title 'API Request Duration by Verb - 99th Percentile' display on the dashboard 'API Performance'

Actual results:
No data about title 'API Request Duration by Verb - 99th Percentile' display on the dashboard 'API Performance'

Expected results:
data about title 'API Request Duration by Verb - 99th Percentile' should display

Additional info:

% oc get cm -n openshift-config-managed grafana-dashboard-api-performance -o yaml | grep -e '"expr"' -e '"title"' 
              "expr": "histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{apiserver=\"$apiserver\",subresource!=\"log\",verb!~\"WATCH|WATCHLIST|PROXY\"}[$period])) by(verb,le))",
          "title": "API Request Duration by Verb - 99th Percentile",

Query the expr directly and can see data, please refer attachment

Comment 5 hongyan li 2022-05-19 02:25:18 UTC
Test with payload 4.11.0-0.nightly-2022-05-18-053037
Data of title 'API Request Duration by Verb - 99th Percentile' displays on the dashboard 'API Performance' now

Comment 8 errata-xmlrpc 2022-08-10 11:12:00 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 (Important: OpenShift Container Platform 4.11.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-2022:5069