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.