Bug 1780170
| Summary: | Console operator /metrics endpoint doesn't contain console_url metric [openshift-4.2] | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | bpeterse |
| Component: | Management Console | Assignee: | bpeterse |
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.2.z | CC: | aos-bugs, jokerman, juzhao, spadgett, yanpzhan, yapei |
| Target Milestone: | --- | ||
| Target Release: | 4.2.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1764313 | Environment: | |
| Last Closed: | 2019-12-20 00:46:48 UTC | Type: | --- |
| 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: | 1764313, 1780180 | ||
| Bug Blocks: | 1764316, 1768684, 1779879, 1781475 | ||
|
Comment 1
bpeterse
2019-12-05 14:37:46 UTC
Payload 4.2.10 Checked on ocp 4.2 env with above version, now there is console_url in metrics, and filtering on prometheus ui with "console_url" will have output. # token=`oc sa get-token prometheus-k8s -n openshift-monitoring` # oc get ep -n openshift-console-operator NAME ENDPOINTS AGE metrics 10.130.0.22:8443 3h18m # oc -n openshift-console-operator exec console-operator-6f6488cf4d-h88n9 -- curl -k -H "Authorization: Bearer $token" https://10.130.0.22:8443/metrics |grep console_url % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0# HELP console_url URL of the console exposed on the cluster # TYPE console_url gauge console_url{url=""} 0 console_url{url="https://console-openshift-console.apps.qeci-1109.qe.gcp.devcluster.openshift.com"} 1 100 58337 0 58337 0 0 388k 0 --:--:-- --:--:-- --:--:-- 390k The bug is fixed, so move it to "Verified" 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:4181 |