This documentation is for WSO2 Complex Event Processor 4.1.0. View documentation for the latest release.

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  • To enable metrics for the CEP,  set the Enabled parameter under the Metrics element to true in the <CEP_HOME>/repository/conf/metrics.xml file. Alternatively, you can enable metrics at the time of starting the CEP server by using the following command:

    Code Block

    For detailed instructions to enable/disable metrics and to configure metrics, see Working with WSO2 Carbon Metrics Enabling Metrics and Storage Types

  • To generate metrics related statistics, set the StatisticsReporterDisabled property to false in the <CEP_HOME>/repository/conf/carbon.xml file as shown below.

    Code Block
  • To enable event metrics for specific event receivers, event publishers, and execution plans, enable statistics for the relevant components by clicking the Enable Statistics link. e.g., The following image shows how to enable statistics for an execution plan.