Access /metrics endpoint of router pods in RHOCP 4.x

Solution Verified - Updated -

Issue

  • Is it possible to fetch ingress metrics using a custom serviceaccount ?
  • How to authenticate to /metrics API of router pods ?
  • How access metricsof router pods using a custom serviceaccount ?
  • How to scrape ingress metrics using custom serviceaccount ?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.x

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