All Products
Search
Document Center

Container Service for Kubernetes:Why are Prometheus metrics not displayed?

Last Updated:Dec 13, 2023

This topic describes the issue that Managed Service for Prometheus metrics are not displayed, the cause of the issue, and the solution to the issue.

Issue

Managed Service for Prometheus metrics cannot be displayed.

Cause

The name of your cluster is the same as the name of a cluster that you have deleted from the region where your cluster resides. However, the Managed Service for Prometheus plug-in of the deleted cluster is not uninstalled from the Application Real-Time Monitoring Service (ARMS) console. Consequently, the Managed Service for Prometheus plug-in failed to be installed in your cluster.

Solution

  1. Log on to the ARMS console and uninstall the Managed Service for Prometheus plug-in of the deleted cluster. For more information, see Uninstall the Prometheus agent.

  2. Install the Managed Service for Prometheus plug-in in your cluster. For more information, see Enable Managed Service for Prometheus.