ACS custom metrics are not visible from Prometheus in RHOCP 4

Solution Verified - Updated -

Issue

  • ACS custom metrics are not shown in Prometheus.
  • How to get rox_central_cfg_total_policies metric in Prometheus?
  • How to get rox_central_health_cluster_info metric in Prometheus?
  • How to get rox_central_cert_exp_hours metric in Prometheus?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat Advanced Cluster Security (RHACS)
    • 4.9
    • 4.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content