https://github.com/openshift/console-operator/pull/270
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