Bug 1874521

Summary: connectivity check metrics cannot be aggregated across components
Product: OpenShift Container Platform Reporter: Luis Sanchez <sanchezl>
Component: kube-apiserverAssignee: Luis Sanchez <sanchezl>
Status: CLOSED ERRATA QA Contact: Ke Wang <kewang>
Severity: medium 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:36:42 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 Luis Sanchez 2020-09-01 14:28:38 UTC
Description of problem:

pod network connectivity metrics are being publish with component
specific names. This makes is awkward to aggregate metrics across components. 

For example, openshift_apiserver_endpoint_check_count and openshift_kube_apiserver_endpoint_check_count should be a single metric such as pod_network_connectivity_check_count, with a label to indicate the component. This better models the best practices already in use for other metrics which are common to multiple components.

Comment 3 Ke Wang 2020-09-03 04:01:58 UTC
Tried OCP 4.6.0-0.nightly-2020-09-02-210353, open the web console-> Monitoring -> Metrics, query keywords: pod_network_connectivity_check_count, pod_network_connectivity_check_tcp_connect_latency_gauge and pod_network_connectivity_check_dns_resolve_latency_gauge. the component label of queried results only displayed openshift-apiserver,not found the openshift-kube-apiserver, is this the expected result?

Comment 6 Ke Wang 2020-09-17 10:42:37 UTC
Since the bug only related to PR https://github.com/openshift/cluster-kube-apiserver-operator/pull/933, it works as https://bugzilla.redhat.com/show_bug.cgi?id=1874521#c3. So move the bug verified.

Comment 8 errata-xmlrpc 2020-10-27 16:36:42 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