[Webinar] Discover key trends and best practices in Kubernetes observability with DevOps expert, Viktor Farcic.Register now
Our recognition in the inaugural Gartner MQ for DEM

Disabling third party packages


Users can choose to exclude specific classes, methods or application packages from being instrumented by the Java agent. To exclude packages from being instrumented, implement the following steps:

  1. Add the key provided below in the apminsight.conf file.

    exclude.packages= <packages name>

  2. Provide the package name to be excluded as values.
  3. Add multiple packages by separating each one with a comma.
  4. Restart the app server for the changes to take effect.

Example:

exclude.packages=com.manageengine.apminsight.*, com.manageengine.agent.*

Note: This feature is available from Java agent Version 3.7.0 onwards.

Back to Top