This documentation is for WSO2 CEP 3.0.0. View the home page of the latest release.

Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

CEP Event statistics is an important feature that helps for monitoring purposes of events . This gives real time request and responses vs time for all the Topics incoming and outgoing CEP. You can use this visualization to get an idea about system throughput, input frequency and check whether the inputs are received or outputs are published. By default event statistics is disabled in CEP to avoid over-head of unnecessary processing of events.

 

Enabling/Disabling Event Statistics in CEP

To enable the event statistics in CEP, user needs to enable the tracing in carbon.xml of the CEP server. (<CARBON_HOME>/repository/conf/carbon.xml).

Change the property <StatisticsReporterDisabled>true</StatisticsReporterDisabled> to false to enable event statistics. Event though event statistics is enabled in CEP, It is not activated by itself. User needs to activate event statistics for each and every configuration that they want since monitoring event statistics take considerable amount of processing overhead.

  

As shown above, you can simply enable or disable event statistics for event formatter configuration. You can follow the sample approach for Output Event Adaptor, Event Builder, Event Processor and Input Event Adaptor as well, But consider any change in event statistics status (enable or disable) will lead to redeployment of necessary configuration.

 

Monitoring CEP Event Statistics

Follow the instructions below to access the Event Tracer.

  1. Click on "Monitor" on the left side to access the "Monitor" menu.
  2. In the "Monitor" menu, click on "Event Statistics."


  3. If you enabled event statistics for all the configurations (from input event adaptor to event formatter), then you can see a window like below.

  4. If you send events to the CEP, then you can get the actual statistics details as shown below (I have used the sample- 0101 for this purpose). If you run the sample, it will send 100 events by default. Then you can see similar window as shown below.

  5. As shown above, user can further analyse regarding the requests and responses in each configuration in real time...

 

  • No labels