APM Insight agent instruments predefined classes of several Web Components and Frameworks to provide insight into the application. APM Insight also provides an option to custom instrument, classes of your choice. Custom instrumentation offered by APM Insight Java monitoring,helps in providing wider insight into applications, where it will be easier to track performance of specific features or modules in the application.
Java Agent provides two ways to custom instrument your application:
Fully qualified ClassName : methodNames separated by comma(,) : component_Name
Each entry of class/package must added in a new line.
Use comma(,) as method separator for multiple entries.
If methods to be instrumented is left blank, all methods under the specified class will be instrumented. If there exists, overloading methods that needs to be instrumented, all the overloaded methods will be instrumented.
Example:
a/b/c/CustomClass : methodA, methodB : ComponentA
a/b/c/CustomClass : methodC : ComponentB
a/b/c/CustomClass : : Component_A1
a/b/c/CustomClass : :
package_name/.* :
Example:
a/b/c/.* : : Component_C
a/b/c/d/.* : :
Note: It requires a application server restart for the changes to be effective |