Exclude third party packages from monitoring

Can I disable instrumentation of third party packages?

Yes, you can exclude specific classes, methods or application packages from being instrumented by the Java agent. To exclude packages from being instrumented, implement the following steps:
  • Add exclude.packages in apminsight.conf file
  • Provide the package name to be excluded as values
  • Add multiple packages by separating each one with a comma
  • 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.


    • Related Articles

    • Limitations of custom instrumentation in .NET agent

      While most of the functions can be instrumented using custom instrumentation, the following kinds of methods will be ignored for profiling: 1. Constructors 2. Object finalizers and Disposer methods 3. Lambda functions 4. Property getter / setter 
    • Steps to troubleshoot when you get NO DATA message for Java applications.

      After adding APM Insight Java agent, if you get NO DATA message, it could be because of probable reasons like network issues or zero traffic in your application. Kindly read through the below given instructions to troubleshoot.  Reason Cause Solution ...
    • How to add APM Insight Java agent without application restart?

      In general, after installing the APM Insight Java agent, you have to restart your application for the agent to capture monitoring data. But in case of critical issues in the app, like sudden application slowness, where you haven't installed APM ...
    • How to enable or disable thread profiling in the Java agent?

      The APM Insight Java agent v5.6 is designed to enable thread profiling by default and runs every eight hours (since JVM start) for five minutes to identify and instrument the slow methods in your application. You can also disable thread profiling by ...
    • How can I choose resources in a monitor group for third-party integration

      By associating the monitor group with a tag, you can select the resources in a monitor group for third-party integration. Read how to add a tag to a monitor group.    Once you have added a tag to the group, choose the tag to integrate the resources ...