[OpenShift Container Platform][IBM Cloud Pak for Integration]

Monitoring when using the IBM MQ Operator

Queue managers managed by the IBM® MQ Operator can produce metrics compatible with Prometheus.

You can view these metrics using the Red Hat OpenShift Container Platform (OCP) monitoring stack. Open the Metrics tab in OCP, then click Observe > Metrics. Queue manager metrics are enabled by default, but can be disabled by setting .spec.metrics.enabled to false.

Prometheus is a time-series database and a rule evaluation engine for metrics. The IBM MQ containers expose a metrics endpoint which can be queried by Prometheus. The metrics are generated from the MQ system topics for monitoring and activity trace.

Red Hat® OpenShift® Container Platform includes a pre-configured, pre-installed, and self-updating monitoring stack that uses a Prometheus server. The Red Hat OpenShift Container Platform monitoring stack needs to be configured to monitor user-defined projects. For more information, see Enabling monitoring for user-defined projects. The IBM MQ Operator creates a ServiceMonitor when you create a QueueManager with metrics enabled, which the Prometheus Operator can then discover.

In older versions of IBM Cloud Pak® for Integration, you could also use the IBM Cloud® Platform Monitoring service to provide a Prometheus server instead.