立即与支持人员聊天
与支持团队交流

Foglight for Java EE Technologies 5.9.7.5 - Installation Guide

Installing and Configuring Foglight for Java EE Technologies Integrating with JBoss Integrating with Tomcat Integrating with WebLogic Domain Startup Scripts Integrating with WebSphere Integrating with Oracle AS Creating a Generic Installation for Manual Java EE Agent Integration Managing Java EE Agent Installations, Integrations, and Configurations Managing Java EE Agent Configurations Managing Java EE Installations Foglight for Java EE Integration Configuration FAQ and Troubleshooting Performing Manual Application Server Integrations Appendix: Managing Permissions for the Java EE Integration Agent Appendix: Foglight for Java EE Application Methods

Separating Requests by Parent Method

Use the StopCurrentRequestInMethods parameter as a separate parameter when you want to stop the request in the configured method. Once stopped, the next method entered starts a new request. The data collected for the original request is not lost but has stopped collecting. The benefit of using the StopCurrentRequestInMethods parameter is to organize and specify the time range during which the Java EE agent collects requests.
The StopCurrentRequestInMethods setting splits one request type into two or more request types where the original request ends on the specified method and new requests are started on children of the specified method.
and you want to configure it to split on the doGet() method. The result is two requests:
1
Click the Requests tab of the Edit dialog box.
2
To add method that the agent should stop on, click Edit beside StopCurrentRequestInMethods.
3
Click Add to add a new stop method.
a
Leave the Include or Exclude option set to include (the default setting).
c
Click in the Method Name box and type the name of the method that you want the agent to stop on. In this example, that is:
com.foo.bar.SomeServletName.doGet()
5
If you manually edit the instrumentation.config file, use the following syntax to specify the stop methods.
is configured to split on the doGet() method as follows:

Splitting Requests During Single Tracing

By default, requests that have been split using the StopCurrentRequestInMethods setting also appear as separate requests when collecting in single-trace mode.
Disabling the SplitRequestsWhenSingleTracing setting prevents request splitting when collecting a single trace. Requests that would otherwise be separated appear as part of the same call tree. In some situations, the additional context may be helpful for more detailed analysis.
1
Click the Requests tab of the Edit dialog box.
2
Clear the check box for SplitRequestsWhenSingleTracing.
3
Click Save.
If you manually edit the instrumentation.config file, use the following syntax to specify that requests should be split while single tracing.

Managing Advanced Settings

Customizing Instrumented Classes

The InstrumentedClasses setting customizes the classes that are instrumented. In almost all cases, you should tune instrumentation using the UserClasses or CustomComponents. For more information, see Changing User Classes Settings and Changing Custom Component Settings .
The InstrumentedClasses setting is normally used to exclude a class when instrumentation causes failures or application problems.
Excluding a class ensures it is completely excluded from all instrumentation.
Including a class causes the class to be examined and, if it implements important application server functionality, it may be instrumented appropriately.
1
Click the Advanced tab of the Edit dialog box.
2
Click Edit beside InstrumentedClasses.
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级