Versions Compared

Key

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

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

Table of Contents
 
maxLevel3

Enabling/Disabling Event

...

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

...

Statistics 

Even though the Event Statistics feature is enabled in the product, it is not activated by itself. User needs  You need to activate event statistics for each and every configuration that they you want since monitoring event statistics take considerable amount takes a considerable amount of processing overhead.

   Image Removed

As shown above, you can simply Change the <StatisticsReporterDisabled> property to false in the <PRODUCT_HOME>/repository/conf/carbon.xml file, to enable event statistics tracing in the product server.  

You can enable or disable event statistics for event formatter configuration. You can follow the sample approach for Output Event Adapter, Event Builder, Event Processor and Input Event Adapter as well, But consider any change in receivers and event publishers. For an example, follow the steps below to enable event statistics tracing on a event publisher.

Info

Any change in the event statistics status (enable or disable)

...

leads to a redeployment of the necessary configuration.

...

 

...

 

  1. Log in to the product management console using admin/admin credentials.
  2. Click Main, and then click Publishers.
  3. Click the Enable Statistics option of the corresponding publisher, on which you want to enable tracing as shown below.
    enable statistics tracingImage Added

Monitoring 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 Removed
    Log in to the product management console using admin/admin credentials.
  3. Click Monitor, and then click Event Statistics.
    If you enabled event statistics for all the configurations (

    from input

    event

    adapter to

    receivers and event

    formatter

    publishers), then you

    can see

    view a window like below. 

    Image Removed

    statistics of all configurationsImage Added
    If you send events to the

    DAS

    product, then you can get the details of 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

    . Then, you view a similar window as shown in the example below.

    Image Removed
    As shown above, user


    statistics of a specific event publisherImage Added

    Info

    You can further analyse statistics regarding the requests and responses in each configuration in

    real time...

...

  1. realtime as shown above.