Getting performance data from request metrics

This topic describes how to enable request metrics.

About this task

Request metrics is a tool that enables you to track individual transactions, recording the processing time in each of the major WebSphere® Application Server components.
You can enable request metrics from the following locations:
  • The administrative console. To enable request metrics in the administrative console, refer to the instructions under the Steps for this task section that follows.
  • Command line. Java™ Management Extensions (JMX) interfaces are exposed for enabling request metrics through external tools. For more details on the exposed interfaces, refer to the request metrics API documentation.

To enable request metrics in the administrative console:

Procedure

  1. Open the administrative console.
  2. Click Monitoring and Tuning > Request Metrics in the console navigation tree.
  3. Verify that Prepare servers for request metrics collection check box is selected. If Prepare servers for request metrics collection check box is not selected, you will have to select it, save the change, and restart the server.
  4. Select All, None, or Custom under Components to be instrumented to specify the request metrics components. If you select Custom, be sure to select the components you would like to enable.
  5. Specify the components that are instrumented by request metrics.
  6. Specify how much data to collect.
  7. Enable and disable logging.
  8. Enable Application Response Measurement (ARM) Agent.
  9. Specify which ARM type to use.
  10. Specify the name of the ARM transaction factory implementation class.
  11. Isolate performance for specific types of requests.
    1. Add and remove request metrics filters.
  12. Click Apply or OK.
  13. Click Save.

Results

The request metrics is enabled.

What to do next

To ensure that the web server plug-in recognizes the changes you made for the request metrics configuration, follow the steps in Regenerating the web server plug-in configuration file, if logging time spent in the web server.