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.

    Image Added

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

    Image Added
  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.
    Image Added