Enabling OpenShift Container Platform monitoring
Monitoring in IBM Cloud Pak® for Integration relies on the OpenShift monitoring stack. To enable monitoring of user-defined projects, you must configure OpenShift Container Platform monitoring.
To learn more about the OCP monitoring stack, see Understanding the monitoring stack in the OpenShift documentation.
Enabling the OpenShift monitoring stack
To enable OpenShift to monitor your applications, follow these steps. When enabled, developers can run PromQL queries on application metrics in the OpenShift web console by switching to the Developer perspective and clicking Monitoring in the navigation menu.
To enable the OpenShift monitoring stack:
Create the following
ConfigMap
, withenableUserWorkload: true
:apiVersion: v1 kind: ConfigMap metadata: name: cluster-monitoring-config namespace: openshift-monitoring data: config.yaml: | enableUserWorkload: true
This ensures that OpenShift is configured for user-defined project monitoring. For more information, see the OpenShift documentation: Enabling monitoring for user-defined projects.
Accessing monitoring from the Platform UI
Log in to Platform UI.
Click Integration instances to get a list of the instances you intend to monitor:
Click Monitoring.