Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-5228

feature request - Prometheus should use ServiceMonitor concept for scraping.

XMLWordPrintable

      - Prometheus Operator is the default on OpenShift 4 and uses the ServiceMonitor concept for scraping. So my expectation is that Red Hat Products must work with ServiceMonitor.

      - ServiceMonitor is the default way to scrape Prometheus metrics, our expectations would be that the port definitions are automatically added to the StatefulSet.

      - In AMQ 7.8.2, the StatefulSet are missing container port definitions, so the ServiceMonitor cannot scrape the metrics. We have to manually add this port definition to the StatefulSet in order to get the metrics work.

      ports:
        - containerPort: 8161
           name: management
           protocol: TCP

       

              gaohoward Howard Gao
              rhn-support-cpandey Chandra Shekhar Pandey (Inactive)
              Mikhail Krutov Mikhail Krutov
              Votes:
              2 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: