Managing resource statistics collection
Use resource statistics data to monitor the performance and resource usage of your integration servers.
Before you begin
- Configure an integration server, by following the instructions described in Configuring an integration server by modifying the server.conf.yaml file.
- Create your message flow, package it into a BAR file, and then deploy it to your integration server. For more information, see Creating a message flow and Deploying integration solutions to a production environment.
- Read the concept topic, Resource statistics.
About this task
You can activate the collection of resource statistics by modifying a node.conf.yaml or server.conf.yaml configuration file, by using the IBM App Connect Enterprise web user interface, or by running the mqsichangeresourcestats command.
You can view the resource statistics data in the web user interface. Alternatively, you can configure your integration servers to write resource statistics to files, as described in Reporting resource statistics to files.
You can manage the collection of resource statistics data for active integration servers by using one of the following methods:
Managing resource statistics collection by modifying a server.conf.yaml file
About this task
You can start collecting resource statistics data for resources that are used by any active message flows that are deployed in an integration server. To start collecting the data, set the resource statistics properties in the server.conf.yaml file for the integration server. Alternatively, you can configure the collection of resource statistics for the integration node by modifying the properties in the node.conf.yaml file.
When you configure the resource statistics settings for your integration server, you can start and stop the collection of resource statistics dynamically, without restarting the integration server, by using the mqsichangeresourcestats command. You can also see the current options for gathering resource statistics by using the mqsireportresourcestats command.
Procedure
Complete the following steps to configure the collection of resource statistics:
Managing resource statistics collection by using the web user interface
Procedure
Managing resource statistics collection by using a command
Procedure
What to do next
You can view the resource statistics in the web user interface, as described in Viewing resource statistics data.
You can write a program that subscribes to a publication (single XML message) that returns the resource statistics data. For an example of the publication message, see Example XML output.