Versions Compared

Key

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

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.

...

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 AdaptorAdapter, Event Builder, Event Processor and Input Event Adaptor Adapter as well, But consider any change in event statistics status (enable or disable) will lead to redeployment of necessary configuration.

 

Monitoring CEP Event Statistics

...

  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 adapter 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...

...