Open the probe in the Probekit editor to modify it (see Modifying
probes). The sample probe is defined with a prefilter target so that
it matches only methods from any package containing the string “samples”
(for example, com.mycom.mysamples.ASampleClass would be matched).
Modify this target and add additional targets to match only the application
code package, class, or ideally the methods that are to be instrumented for
transaction performance measurement when the application is profiled. The
more specific you can make the targets, the less irrelevant data you will
have to ignore when analyzing what is collected. Note: The
default exclude target is crucial to ensure that the probe does not instrument
its own methods and cause endless recursions.