Using the replicaExternalLabelName for Prometheus in OCP 4

Solution Verified - Updated -

Issue

  • Want to get rid off the prometheus_replica label that gets added to the metric data, by adding:
replicaExternalLabelName: ""

in the cluster-monitoring-config configmap in openshift-monitoring namespace but doesn't change anything in the k8s prometheus.

Environment

Red Hat OpenShift Container Platform 4 (RHOCP)

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