IBM BPM, V8.0.1, All platforms > Measuring and improving business processes > Monitoring > Enabling and configuring service component monitoring > Monitoring performance > Performance Monitoring Infrastructure statistics > Tutorial: Service component performance monitoring

Example: Monitoring service component performance

For monitoring performance, you can use the administrative console to select service components for monitoring and view performance measurements. This example shows the use of the console to monitor performance statistics.

You will use the business rules sample application for this scenario, where you will monitor all three of the performance statistics: successes, failures, and response times. You should have the web page containing this application already open; keep it open, because you will be running the sample several times after you begin monitoring. Ensure that you have already run the sample at least once, which causes it to appear in the list of functions that you can select to monitor.


Procedure

  1. Open the administrative console.

  2. Select the cluster or server to monitor.

    • To monitor a cluster, click Servers > Clusters > WebSphere application server clusters > cluster_name.

    • To monitor a single server, click Servers > Server Types > WebSphere application servers > server_name.

  3. Click the Runtime tab.
  4. Under Performance, click Performance Monitoring Infrastructure.

  5. Select Custom.
  6. Expand WBIStats.RootGroup > BR > brsample_module.DiscountRuleGroup > Operation.

  7. Select _calculateDiscount

  8. Select the check boxes next to BadRequests, GoodRequests, and ResponseTime.

  9. Click Enable

  10. In the navigation pane, click Monitoring and Tuning > Performance Viewer > Current Activity.

  11. Select the check box next to server_name, then click Start Monitoring.

  12. Click server_name.
  13. Expand WBIStats.RootGroup > BR > brsample_module.DiscountRuleGroup > Operation.

  14. Select the check box next to _calculateDiscount


Results

You should now see a blank graph, and underneath that the names and values for the three statistics. Select the check boxes next to the statistic names, if they are not already checked. The PMI is now ready to publish performance data for the selected event, and the Tivoli Performance Viewer is ready to present the results.

Run the business rules sample application several times, and then watch the performance viewer as it periodically refreshes. Notice that there are now lines on the graph, representing the cumulative number of successful requests and the average response time for each successful request. You can also see the values next to the name for each statistic below the graph. The line for the number of successes should continue to rise as you perform additional invocations of the sample, while the response time line should level off after a few refreshes.

After you have completed this example, you should understand how IBM BPM implements performance monitoring of service components. You should know how to select service components for monitoring, and how the performance statistics are calculated. You will also be able to start the performance monitors, and view the performance measurements for your applications as they are being used.


What to do next

Performance monitoring can tax system resources; therefore, after you have completed this task you should stop the monitors. To do this, click the Tivoli Performance Viewer link, select both the node and the server, and press Stop Monitoring.

Tutorial: Service component performance monitoring