New metrics are not shown in the Infrastructure monitoring page after IBM Cloud Pak foundational services is upgraded to version 3.12 or later

After IBM Cloud Pak foundational services is upgraded to version 3.12 or later, you might find that new metrics are not shown in the Infrastructure monitoring page on IBM Cloud Pak console.

Symptoms

Cause

The Infrastructure monitoring metric service stores resource metrics by using the Red Hat® Advanced Cluster Management for Kubernetes Observability service API. The API access credentials that are currently in use by the Infrastructure monitoring metric service are not valid.

Solution

Log in to the cluster by using the Red Hat OpenShift oc command line utility, and then delete the existing metric write credential.

After the command is executed, a new write credential will be created, and a new instance of the monitoring-metricsvc-collector-kafka pod will also be created. It might take about 10 minutes to see the new metrics in the Infrastructure monitoring page on IBM Cloud Pak console.