DAS 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 DAS. 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 DAS to avoid over-head of unnecessary processing of events.
Enabling/Disabling Event Statistics in DAS
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).
Change the property <StatisticsReporterDisabled>true</StatisticsReporterDisabled> to false to enable event statistics. Event though event statistics is enabled in DAS, 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 Adapter, Event Builder, Event Processor and Input Event Adapter as well, But consider any change in event statistics status (enable or disable) will lead to redeployment of necessary configuration.
Monitoring DAS Event Statistics
Follow the instructions below to access the Event Tracer.
- Click on "Monitor" on the left side to access the "Monitor" menu.
- In the "Monitor" menu, click on "Event Statistics."
- If you enabled event statistics for all the configurations (from input event adapter to event formatter), then you can see a window like below.
- If you send events to the DAS, 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.
- As shown above, user can further analyse regarding the requests and responses in each configuration in real time...