Message flow accounting and statistics collection options
The options that you specify for message flow accounting and statistics collection determine what information is collected. You can configure the collection of snapshot data, archive data, or both.
- Snapshot data is collected for an interval of approximately 20 seconds. The exact length of the interval depends on system loading and the level of current integration server activity. You cannot modify the length of time for which snapshot data is collected. At the end of this interval, the recorded statistics are written to the output destination and the interval is restarted.
- Archive data is collected for an interval that you
have set for the integration node or integration server, by setting
the Statistics.Archive.majorInterval property
in the relevant node.conf.yaml or server.conf.yaml configuration
file.
You can specify an interval in the range 1 through 43200 minutes;
the default value is 60 minutes. At the end of this interval,
the recorded statistics are written to the output destination and
the interval is restarted.
An interval ends and restarts when any of the following events occur, to preserve the integrity of the data that has been collected prior to the event:
- The message flow is redeployed
- The set of statistics data to be collected is modified
- The integration node is shut down
You can modify the statistics properties in the node.conf.yaml or server.conf.yaml files to specify snapshot data collection, archive data collection, or both. When you have updated the .yaml file, you must restart the integration node or server for the changes to take effect. The state of the statistics collection that is configured in the .yaml file is applied to all flows that are deployed when the integration server starts, and also to any additional flows that are deployed afterwards. For information about configuring an integration server or integration node by editing a .yaml file, see Configuring an integration server by modifying the server.conf.yaml file and Configuring an integration node by modifying the node.conf.yaml file. Alternatively, by using the mqsichangeflowstats command, you can specify snapshot data collection, archive data collection, or both. You can activate snapshot data collection while archive data collection is active. The data recorded in both reports is the same, but is collected for different intervals. If you activate both snapshot and archive data collection, be careful not to combine information from the two different reports, because you might count information twice.
You can view statistics data as it is generated by selecting the Statistics tab in the web user interface.
For information about how to configure the collection of snapshot or archive statistics, see Configuring the collection of message flow accounting and statistics data.