How to scrape Prometheus application metrics from ServiceMesh configured with mTLS?

Solution Verified - Updated -

Issue

  • How to get metrics of ServiceMesh related projects.
  • After following the documentation on enabling Prometheus user defined workloads and create a ServiceMonitor, the related Prometheus Target is marked as DOWN and there's this status message shown in the Prometheus GUI:
Get "http://10.128.XXX.XXX:8080/metrics": read tcp 10.128.XXX.XXX:39428->10.128.XXX.XXX:8080: read: connection reset by peer

Environment

  • Red Hat OpenShift Container Platform
    • 4.8 and later
  • Red Hat OpenShift Service Mesh
    • 2.1 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