Enabling monitoring views for deployed integration runtimes on Red Hat OpenShift
If you are running on Red Hat OpenShift with a Prometheus stack configured, you can enable monitoring views to display CPU and memory usage metrics for your integration runtimes, and flow runs and latency metrics for your deployed integrations. This data lets you see how much CPU and memory your integration runtimes are using and how long it takes for your integrations to run. The data is displayed in the Monitor page in the App Connect Dashboard.
Before you begin
To enable monitoring views for your integration runtimes, the following prerequisites must be met:
- Ensure that a Prometheus stack is configured in your Red Hat
OpenShift
cluster.
Red Hat OpenShift provides a preconfigured monitoring stack that is based on the Prometheus open source project, and which you can use to monitor the core platform components and to enable monitoring of user-defined projects. For more information, see Enabling the OpenShift monitoring stack. See also Configuring core platform monitoring in the Red Hat OpenShift documentation.
- Ensure that you have cluster administrator authority or have been granted the appropriate role-based access control (RBAC).
- Ensure that the required command-line interface (CLI) tools are installed on your computer to enable you to use the CLI to log in to your cluster and run commands to create and manage your IBM® App Connect resources. For more information, see Installing the command-line tools for your cluster.
About this task
To enable monitoring views for your integration runtimes, you need to first grant permissions that enable your App Connect Dashboard instance to access Prometheus. You can then use the Monitor page in your Dashboard to view monitoring data for your deployed integration runtimes and their underlying containers and integrations.

The Monitor page presents data in two separate views (or tabs).
- Runtimes
-
The Runtimes view of the Monitor page shows CPU and memory usage data for your integration runtimes and the containers that are created to support the deployed integrations in the runtime pods. These containers are specific to the integration type:
- The runtime container is deployed to provide runtime support for Toolkit integrations or Designer integrations.
- The designerflows container is deployed to support API flows in Designer integrations. This container also hosts connectors for event-driven and API flows.
- The designereventflows container and an accompanying proxy container are deployed to support event-driven flows in Designer integrations.
If you request multiple replica pods while creating an integration runtime, each replica also has its own containers.
The Runtimes view provides an insight into the largest and smallest consumers of CPU and memory. Container metrics for the top five integration runtimes with the highest or lowest CPU and memory usage are presented within graphs, and container metrics for all your integration runtimes are additionally displayed in a table. You can filter the type of data that you see, select a time period for which you want to collect data, and drill down to more detailed information about your resources. The Runtimes view can be useful for identifying whether any of the containers is nearing its limits or is under-resourced, and determining whether you need to take remedial action; for example, by adjusting the relevant spec.template.spec.containers[].resources.* settings for your integration runtimes. The data could also help you identify memory leaks with certain flows that are running, or to identify whether any integration runtime that should be executing tasks isn't currently processing any data.
- Integrations
-
The Integrations view of the Monitor page enables you to monitor the integrations that are deployed to your integration runtimes. This view can be useful for identifying your busiest integrations and can help you determine where you might want to allocate more resources, perhaps during an influx of traffic. The Integrations view displays the following data for your deployed integrations:
- Highest or lowest total flow runs
A flow run occurs whenever part of a flow is triggered. For example, in the following Designer flow for a deployed integration, a Salesforce New case event triggers the flow to complete three actions. Each time a new case is created in Salesforce, it triggers the flow to complete one or more of its actions, which counts as one flow run.
- Highest or lowest average latency
Latency is the time that elapses between when a flow is triggered and when it completes processing.
In the Integrations view, metrics for the top five integrations with either the highest total flow runs and average latencies, or with the lowest total flow runs and average latencies are presented within graphs. Metrics for all your integrations are additionally displayed in a table. You can filter the type of data that you see, select a time period for which you want to collect data, and drill down to more detailed information about your integrations.
- Highest or lowest total flow runs
Complete the following tasks:
Granting the requisite cluster-wide permissions to your App Connect Dashboard
To enable monitoring views for the deployed integration runtimes in your App Connect Dashboard instance, you need to first grant additional cluster-wide
permissions to the Dashboard's service account in the cluster. These permissions enable access to
Prometheus. You grant the permissions by creating a ClusterRoleBinding resource to bind an existing
ClusterRole resource that is named cluster-monitoring-view
.
Procedure
To create the ClusterRoleBinding resource by using the Red Hat OpenShift CLI, complete the following steps.
What to do next
Use the Monitor page in the Dashboard to view monitoring data for your runtimes and integrations.
Monitoring data for your runtimes and integrations from the App Connect Dashboard
From your App Connect Dashboard instance, you can track the CPU and memory usage for your runtimes and also view flow runs and latency metrics for the deployed integrations.
Procedure
To monitor data for your runtimes and integrations, complete the following steps: