Get performance data from request metrics
This topic describes how to enable request metrics.
Overview
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.We 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
- Open the administrative console.
- Click Monitoring and Tuning > Request metrics in the console navigation tree.
- Select the Enable check box in the Request metrics field under the Configuration tab.
- Specify the components that are instrumented by request metrics.
- Specify how much data to collect.
- Enable and disable logging.
- Enable Application Response Measurement (ARM) Agent.
- Specify which ARM type to use.
- Specify the name of the ARM transaction factory implementation class.
- Isolate performance for specific types of requests.
- Click Apply or OK.
- Click Save.
Result
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.
See also
Request metrics
Application Response Measurement
Isolating performance for specific types of requests
Specifying how much data to collect
Regenerating the Web server plug-in configuration file
Enabling and disabling logging
Related Tasks
Monitoring application flow
Why use request metrics?