The "Service Statistics Toolbox" is a default, out-of-the-box toolbox provided by WSO2 BAM for point-and-click installation. It includes the necessary artifacts (hive scripts, data stream definitions, properties files, gadgets etc.) required to collect and monitor statistics related to services deployed in any WSO2 service-hosting product like the WSO2 Application Server, WSO2 Data Services Server etc.
...
- Download and start the WSO2 BAM server and log in to its management console. Instructions are given in section Getting Started.
- Set up the BAM Service Statistics Data Agent in a selected service-hosting WSO2 product of which, you plan to gather and summaries service statistics. In this example usecase, we have used the WSO2 Application Server. For instructions on setting it up to transfer service data to WSO2 BAM, see Application Server Service Stats Data Agent.
- Publish data to WSO2 BAM using the BAM Service Statistics Data Agent you set up. For instructions on publishing data, see Application Server Service Stats Data Agent . Else, you can pump some sample service statistics simply by running ant command in <BAM_HOME> /samples/service-stats.
...
Info | ||
---|---|---|
| ||
Service statistics toolbox discussed in this sample, is using uses embedded H2 database to persist summarized data. Also, out of the box it works only with the default BAM installation. Therefore, if you change the default settings (port offset and H2 database), you need to reflect the changes in BAM configuration files as well. For more information on port offset, see Port Offset. |
Installing the Toolbox
1. Log in to BAM's management console and select "BAM Toolbox -> Add" in the "Main" menu.
2. The "Add Tool Box" page appears. Select the "Service Stats Monitoring Toolbox" and click "Install" button. With this simple step, all required artifacts will be deployed to BAM.
3. The "Available BAM Tool Boxes" page opens with the installation status as "Installing". Wait a few seconds and refresh the page to see the status changed to "Installed".
Executing the analytics scripts
Anchor | ||||
---|---|---|---|---|
|
...