Resource statistics are collected by an integration node to record performance and operating details of resources that are used by integration servers.
As a system administrator, you can use the resource statistics to ensure that your systems are using the available resources in the most efficient manner. By monitoring systems and analyzing statistical trends, you can keep system resource usage within boundaries that you consider acceptable, and help to pre-empt situations where system resources are overstretched and might become unavailable. Analysis of the data returned potentially requires specialist skills and knowledge of each resource type.
If you detect that system resources are under pressure, you can examine the statistics collected by the integration node to assess whether the cause of the concern is the use of those resources by processes in IBM® Integration Bus.
You must activate statistics collection; by default, collection is not active. If you activate statistics, you might experience a minor degradation in operating performance of the integration node or integration nodes for which you are collecting data. You can collect data on one or more integration servers, as well as all integration servers on an integration node, so that you can limit the statistics gathering activity if appropriate.
Before resource statistics can be collected, you must ensure that the publication of events has been enabled and a pub/sub broker has been configured. For more information, see Configuring the publication of event messages and Configuring the built-in MQTT pub/sub broker.
To view the output that is generated by statistics collection, use an application that subscribes to a publication message that is published by the integration node every 20 seconds. The message contains the data collected for each integration server for which you have activated statistics collection. The published message is available in XML format and in JSON format.
$SYS/Broker/integrationNodeName/ResourceStatistics/integration_server_name
IBM/IntegrationBus/integrationNodeName/ResourceStatistics/integration_server_name
$SYS/Broker/integrationNodeName/Statistics/JSON/Resource/integration_server_name
IBM/IntegrationBus/integrationNodeName/Statistics/JSON/Resource/integration_server_name
$SYS/Broker/IBNODE/ResourceStatistics/default
IBM/IntegrationBus/IBNODE/ResourceStatistics/default
$SYS/Broker/IBNODE/Statistics/JSON/Resource/default
IBM/IntegrationBus/IBNODE/Statistics/JSON/Resource/default
$SYS/Broker/+/ResourceStatistics/#
IBM/IntegrationBus/+/ResourceStatistics/#
$SYS/Broker/+/Statistics/JSON/Resource/#
IBM/IntegrationBus/+/Statistics/JSON/Resource/#
For details of all the statistics that are reported for each resource manager, and the publication content, see Resource statistics data.