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
Disable Azure Application Insights to avoid conflicts with Site24x7 APM Insight .NET agent
When using the Site24x7 APM Insight .NET agent with an Azure App Service, it's important to disable Azure Application Insights. Both tools use profiler-based instrumentation, and having both enabled simultaneously can lead to conflicts—resulting in ...
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 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 ...