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 following the below steps.
- Open the apminsight.conf file in a text editor.
- Add the below key value in a new line.
- Save the apminsight.conf file.
Note: This will not disable your on-demand thread profiling.
- To re-enable thread profiling, set the value to true.