Description of problem: We are not exposing the v1 registry protocol usage metric to telemetry Actual results: We can't see the metric on telemetry Expected results: We would like to see the metric exposed there Additional info: The metric we need to expose is named v1_image_imports_total and to expose it please read https://github.com/openshift/cluster-monitoring-operator#adding-new-metrics-to-be-sent-via-telemetry
Awaiting for review
$ oc -n openshift-monitoring get cm telemetry-config -o jsonpath="{.data.metrics\.yaml}" | grep apiserver_v1_image_imports:sum # (image-registry-team) :apiserver_v1_image_imports:sum counts the number of image stream - '{__name__=":apiserver_v1_image_imports:sum"}' $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.7.0-0.nightly-2020-12-04-013308 True False 6d21h Cluster version is 4.7.0-0.nightly-2020-12-04-013308 Verified with above info.
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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-2020:5633