Viewing Statistics for Siddhi Applications
When you open the WSO2 SP Status Dashboard, the Node Overview page is displayed by default.
To view information specific to a selected worker node, click on the relevant gadget. This opens the page specific to the worker.
To view information specific to a Siddhi application deployed in the Siddhi node, click on the relevant Siddhi application in the Siddhi Applications table. This opens a page with information specific to the selected Siddhi application as shown in the example below.
The following statistics can be viewed for an individual Siddhi Application.
Latency
View (Example) | |
|---|---|
Description | This displays the latency of the selected Siddhi application. Latency is the time taken to complete processing a single event in the event flow. |
Purpose | This allows you to assess the performance of the selected Siddhi application. |
Recommended Action | If the latency of the Siddhi application is too high, check the Siddhi queries and rewrite them to optimise performance. |
Overall Throughput
View (Example) | |
|---|---|
Description | This shows the overall throughput of a selected Siddhi application over time. |
Purpose | This allows you to assess the performance of the selected Siddhi application. |
Recommended Action |
|
Memory Used
View (Example) | |
|---|---|
Description | This displays the memory usage (In MB) of a selected Siddhi application over time. |
Purpose | This allows you to monitor the memory consumption of individual Siddhi applications. |
Recommended Action | If there are major fluctuations in the memory consumption of a Siddhi application, investigate the reasons (e.g., Whether the Siddhi application has been inactive at any point of time). |
Code View
View (Example) | |
|---|---|
Description | This displays the queries defined in the Siddhi file of the application. |
Purpose | This allows you to check the queries of the Siddhi application if any further investigations are needed based on the observations of its latency, throughput and the memory consumption. |
Recommended Action | Edit the Siddhi file if any changes that can improve the performance of the Siddhi application are identified.
|
Design View
View (Example) | |
|---|---|
Description | This displays the graphical view for queries defined in the Siddhi file of the application. |
Purpose | This allows you to check the flow of the queries of the Siddhi application in the graphical way. |
Recommended Action | Edit the Siddhi file if any changes that can improve the performance of the Siddhi application are identified. |
Siddhi App Component Statistics
View (Example) | |
|---|---|
Description | This table displays performance statistics related to dfferent components within a selected Siddhi application (e.g., queries). The columns displayed are as follows:
|
Purpose | This allows you to carry out a detailed analysis of the performance of a selected Siddhi application and identify components that have a negative impact on the overall performance of the Siddhi application. |
Recommended Action | Identify the componets in a Siddhi application that have a negative impact on the performance, and rewrite them to improve performance. To understand Siddhi concepts in order to rewrite the components, see the Siddhi Query Guide. |