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 the below key in apminsight.conf file
exclude.packages=<packages name>
|
- 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 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 ...
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 to enable and disable distributed tracing in PHP applications?
To enable distributed tracing, set the "zpa.capture distributed trace" directive to "1" in the zpa.ini (Linux) or php.ini (Windows). Similarly, to disable, set to "0." To enable distributed tracing: In the zpa.ini (Linux) or php.ini (Windows), ...
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