This documentation is for WSO2 Enterprise Service Bus version 4.7.0 . View documentation for the latest release.
Skip to end of metadata
Go to start of metadata

You can customize the runtime behavior of mediation statistics to suit your actual data collection requirements. To do this, add the <MediationStat> element to the <ESB_HOME>/repository/conf/carbon.xml file. The following sample XML snippet shows all the available settings:


The following table describes each of the configurable parameters:



Default Value


The mediation statistics component uses a worker thread to collect data from the mediation engine. This thread runs continuously as long as there is data available in the bus. If there is no data to be collected, the worker thread goes to sleep for a specified amount of time. This parameter is used to specify the duration of the sleep, in milliseconds. Once the sleep duration has expired, the reporter thread will wake up and continue operations. A lower ReportingInterval value results in a proactive statistics collector and a very dynamic statistics user interface.



Set this parameter to enabled if you want the statistics component to save the collected data to the Governance Registry.



This parameter is required only if persistence is enabled for mediation statistics. It is used to specify the location in the Governance Registry, where the data should be saved.



Use this parameter to engage custom statistics consumers.


  • No labels