This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Lesson Four: Monitoring the ESB

You have now seen how mediation is performed by the ESB. Let's take a look at the various visual monitoring tools on the Monitor tab you can use to analyze the behavior of the ESB during the mediation.

  1. Enable statistics for the WSO2 ESB in the <ESB_Home>/repository/conf/carbon.xml as follows:

    <StatisticsReporterDisabled>false</StatisticsReporterDisabled>
  2. Restart the ESB server and log into the management console again for the change you made to the carbon.xml file to take effect.
  3. Click the Monitor tab.
    You will see several options for monitoring the ESB.
  4. To see runtime statistics for the system in general, click System Statistics.
  5. To see the log messages produced by the ESB and the actions performed by the mediation process, click System Logs.
  6. To see the trace messages produced by the ESB, click Mediation Tracer.
  7. To see the overall runtime statistics of the message mediation, click Mediation Statistics.

The graph in the top-left corner displays the mediated messages per server, whereas the graph below it displays the mediated messages per sequence. For more runtime statistics, click the Server Statistics panel to display a summary of the server statistics containing total messages, average response time, etc. In the same way, you can click the Sequence Statistics panel to see summarized statistics for sequences. You can click the Proxy Service Statistics panel in the top right-hand box to view summarized statistics for the "StockQuoteProxy" service.

Proxy service statistics

You have now completed the tutorial and are ready to get started creating your own proxy services and sequences. Explore the topics in the table of contents of this guide to learn more about working with the ESB. To use a visual drag-and-drop editor for easy creation of ESB objects, see Developer Studio.