Can I disable instrumentation of third party packages?

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:
  1. Add the below key in apminsight.conf file
    exclude.packages=<packages name>
  1. Provide the package name to be excluded as values
  2. Add multiple packages by separating each one with a comma
  3. 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 4.9.0 onwards.

                    New to ADSelfService Plus?

                      • Related Articles

                      • Procedure for Manually Applying Custom Instrumentation to Un-instrumented Methods in .NET Applications under the .NET Agent

                        APM Insight .NET Agent automatically instruments the .NET framework related methods and collect the metrics. Custom instrumentation helps to view your own framework performance without changing your application code. It allows you to track your own ...
                      • How to customize instrumentation in PHP agent?

                        By default, the following components are tracked: CASSANDRA, CURL, MSSQL, MYSQL, ORACLE, REDIS, MEMCACHED, PDO, and POSTGRES. These can be individually enabled or disabled by modifying the corresponding ini directive in the zpa.ini (Linux) or php.ini ...
                      • What are the 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: Constructors Object finalizers and Disposer methods Lambda functions Property getter/ setter               
                      • Disable TLSv1 and 1.1

                        TLS settings and options Disable TLSv1 and 1.1 Applications Manager supports TLSv1, TLSv1.1, TLS v1.2 and TLSv1.3 by default. However, all major browsers have deprecated TLSv1 and TLSv1.1 in their latest versions. If your browser does not support ...
                      • How do I disable the AppLogs agent (process/service)?

                        In Applications Manager, AppLogs monitoring can be stopped only by disabling the AppLogs sub-agent on the required servers. Existing log data will be retained and removed after the retention period expires. Steps to disable Applog Agent: You can ...