WSO2 ESB provides a powerful framework for collecting statistical information on mediation sequences, endpoints and proxy services. It is a very convenient feature to use with ample user interface support. It allows the user to select the sequences, endpoints and proxy services on which data should be collected. In addition to that, the runtime behavior of the statistics collector can be configured by editing the
carbon.xml file. The user can develop their own custom statistics consumers and deploy them in the ESB to execute custom data processing routines on the mediation statistics gathered by the service bus. Mediation statistics are very useful in evaluating system performance, troubleshooting integration systems and understanding usage patterns.