Configure OpenShift Monitoring to send HA Prometheus metrics to an external Prometheus and deduplicate with Thanos

Solution Verified - Updated -

Issue

  • OpenShift monitoring setup has two Prometheus instances for high availability (HA), both will scrape the same targets to ensure that data is not lost if one instance goes down. When both instances are configured to write to the same remote server, the server receives metrics from both, leading to duplicate metrics.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Thanos Query

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