Enabling the collection of transaction tracking and diagnostics data
On the Agent Configuration page, you can enable or disable the collection of transaction tracking and diagnostics data.
About this task
- Servlet JSP
- EJB applications
- JMS
Procedure
Complete the following steps to configure the data collection for each managed system.
What to do next
- Log in to the Cloud APM console to view the transaction tracking and diagnostics data that is collected by the agent in the dashboards. For information about using the Cloud APM console, see Starting the Cloud APM console.
- Review the data that is presented in the Tomcat agent dashboard pages. For more information, see Group and Instance - Application Performance Dashboard.
- The Method traces widget lists the method names, their stack trace, and
their response times. To optimize response time, the number of methods are limited by the threshold
value for
response time
(default is 50 milliseconds) taken by each method call. Thus, you do not see the method traces for the responses that complete within 50 milliseconds. If you prefer to see all method calls in the Method traces widget, you can update the agent configuration:- Open the /<agent_installation>/otdcchome/<toolkit_version>/gdc/etc/appMethods.xml file in a text editor.
- Locate the collectContextData parameter. These are the default values:
<collectContextData>false</collectContextData>
<collectStackTrace>ifThresholdExceeded</collectStackTrace>
- Set
<collectStackTrace>
to true. - Set
<createDataRow>
to true. - Restart the Tomcat server.
Note: Diagnostics must be enabled for the<collectStackTrace>
true setting to take effect. For more information, see Configuring collection of detailed diagnostic information and Customizing the request thresholds.