Menu Search

Appendix D. Statistics Reporting

The Broker has the ability to periodically write statistics of any entity within the system to the log. Statistics reporting can be configured for a single entity (e.g. a queue) or for all entities of a particular category (e.g. for all queues). The system can be configured dynamically at runtime without the need for the system to be restarted.

This feature helps allow the behaviour of the overall system to be understood and can aid real-time problem diagnosis.

It can be configured Broker-wide or separately for each virtual host.

The format of the statistics report is configurable.

D.1. Statistics Report Period

This governs the period with which statistics reports will be written to the log. The period is defined in seconds. By default the statistics report period is zero, meaning the system is disabled. To enable the statistics report set the statistics reporting period on either the Broker or virtualhost to a non-zero value.

Once the period is defined, the system will respond to the statistic report patterns defined described next.