Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The configuration enables definition of the patterns that can be used for excluding classes from instrumentation. If there is a need not to instrument specific class (or set of classes), users can define their patterns on the Exclude Rules page of the profile. The fully qualified name of the class has to be specified or wild-cards can be used.

Here are some of the pattern examples:

PatternDescription
my.excluded.Class
Excludes the class with the fully qualified name my.excluded.Class.
my.excluded.package.*
Excludes all classes in the package my.excluded.package and all of its sub-packages.
my.excluded.*Exception
Excludes all classes in the package my.excluded.package and all of its sub-packages which name ends with Exception.

 

Default exclude rules

Note that the default set of exclude patterns are defined in the [Common] Exclude classes profile and this profile must be always be included in environment, so that the agent can work properly. For more information read Common profiles page.