Prometheus does not use HonorLabels when set to true

Solution Verified - Updated -

Issue

  • The target scraping works, but the labels are still renamed to "exported_namespace", "exported_..."
  • How to get Prometheus to honor labels when overrideHonorLabels is false
  • ServiceMonitor is set to honor labels but the Prometheus config seems to overwrite it

Environment

  • OpenShift Container Platform 4.11 and later

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