Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1875041

Summary: Make similar buckets for api and etcd request duration histogram
Product: OpenShift Container Platform Reporter: Abu Kashem <akashem>
Component: kube-apiserverAssignee: Abu Kashem <akashem>
Status: CLOSED ERRATA QA Contact: Ke Wang <kewang>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.6CC: aos-bugs, mfojtik, xxia
Target Milestone: ---   
Target Release: 4.6.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-10-27 16:37:14 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:

Description Abu Kashem 2020-09-02 20:20:25 UTC
Make similar buckets for api and etcd request duration histogram. Create a carry patch for upstream https://github.com/kubernetes/kubernetes/pull/94134.

Comment 3 Ke Wang 2020-09-24 07:55:12 UTC
Verified with OCP 4.6.0-0.nightly-2020-09-23-022756, according to the PR https://github.com/kubernetes/kubernetes/pull/94134, the Buckets values will be seen in etcd request latency in seconds for each operation and object type of etcd_request_duration_seconds_bucket metrics. From the Prometheus web console, the expected Buckets values are displayed in the queried metric results.

Comment 4 Ke Wang 2020-09-25 07:40:47 UTC
Pasted the some related apiserver_request_duration_seconds_bucket data here, the value of field le="xx" are as expected.
 
apiserver_request_duration_seconds_bucket{endpoint="https",instance="10.128.0.15:8443",job="metrics",le="60",namespace="openshift-console-operator",pod="console-operator-5c8f8b87bd-7st6h",service="metrics",subresource="/readyz",verb="GET"}
✔
apiserver_request_duration_seconds_bucket{endpoint="https",instance="10.128.0.15:8443",job="metrics",le="60",namespace="openshift-console-operator",pod="console-operator-5c8f8b87bd-7st6h",service="metrics",subresource="/healthz",verb="GET"}
✔
apiserver_request_duration_seconds_bucket{endpoint="https",instance="10.128.0.15:8443",job="metrics",le="6",namespace="openshift-console-operator",pod="console-operator-5c8f8b87bd-7st6h",service="metrics",subresource="/readyz",verb="GET"}
✔
apiserver_request_duration_seconds_bucket{endpoint="https",instance="10.128.0.15:8443",job="metrics",le="6",namespace="openshift-console-operator",pod="console-operator-5c8f8b87bd-7st6h",service="metrics",subresource="/healthz",verb="GET"}
✔
apiserver_request_duration_seconds_bucket{endpoint="https",instance="10.128.0.15:8443",job="metrics",le="50",namespace="openshift-console-operator",pod="console-operator-5c8f8b87bd-7st6h",service="metrics",subresource="/readyz",verb="GET"}
✔
apiserver_request_duration_seconds_bucket{endpoint="https",instance="10.128.0.15:8443",job="metrics",le="50",namespace="openshift-console-operator",pod="console-operator-5c8f8b87bd-7st6h",service="metrics",subresource="/healthz",verb="GET"}
✔
apiserver_request_duration_seconds_bucket{endpoint="https",instance="10.128.0.15:8443",job="metrics",le="5",namespace="openshift-console-operator",pod="console-operator-5c8f8b87bd-7st6h",service="metrics",subresource="/readyz",verb="GET"}
✔
apiserver_request_duration_seconds_bucket{endpoint="https",instance="10.128.0.15:8443",job="metrics",le="5",namespace="openshift-console-operator",pod="console-operator-5c8f8b87bd-7st6h",service="metrics",subresource="/healthz",verb="GET"}

Comment 6 errata-xmlrpc 2020-10-27 16:37:14 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 (OpenShift Container Platform 4.6 GA Images), 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:4196