Versions Compared

Key

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

WSO2 BAM is a monitoring tool, which performs the task of  aggregating, analyzing and presenting information about business activities. Thereby, BAM can be used with AS in order to effectively monitor the statistics of web applications in AS.

...

To configure the AS for publishing statistics in BAM:

  1. Login and open the AS management console.

    Info

    Webapp data publishing settings need to be configured separately for the tenants.

  2. Go to the Configure tab and click Webapp Data Publishing.

  3. Select the Enable webapp stats check box.
     
  4. Leave the Stream Name, Version, Nick Name, Description as it is. These are the default values from the bam_webapp_statistics toolbox.

    Info

    Note that if you change any of the details relevant to the toolbox, e.g., stream name, version etc, you must accordingly modify the hive script of the toolbox in BAM.

  5. Enter the Receiver URL.
    This refers to the Thrift URL, which is normally tcp://{host}:7611. If you need to use SSL for this, the URL will be tcps://{host}:7711. If you change the offset of the BAM server to 1, both ports will be incremented by 1 (7612, 7712)
  6. Enter the Cassandra Username. 
  7. Enter the Cassandra Password.
  8. Click Update to successfully configure the AS for Data publishing to BAM.

Step 4: Configuring the web application that

...

needs monitoring

Once you have configured your AS with a BAM tool box for monitoring statistics, you must enable monitoring on each of the web applications that you want to monitor. Use either one of the following approaches to configure the web application before deploying.

...

  1. Login and open the BAM management console.
  2. On the Main menu, under  Analytics, click ListThe webapp statistics will be displayed.
  3. Execute the webapp statistics or schedule its running sequence.

...