How to enable or disable thread profiling in the Java agent?

How to enable or disable thread profiling in the Java agent?

The APM Insight Java agent v6.0 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:
  1. Open the apminsight.conf file in a text editor.
  2. Add the below key value in a new line.
    1. thread.profiling.enabled=false
  3. Save the apminsight.conf file.
  4. Note: This will not disable your on-demand thread profiling.
  5. To re-enable thread profiling, set the value to true.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Adding APM Insight Java agent in a Kubernetes environment

                      There are three methods for installing the APM Insight Java agent in a Kubernetes environment: Using Dockerfile Using InitContainers Using Persistent Volumes Prerequisites Download the latest APM Insight Java agent ZIP file. Extract the ZIP file and ...
                    • How to rename an existing APM - Java agent application's monitor?

                      In Applications Manager's APM(Application Performance Monitoring) doesn't support renaming applications/monitors from the web client. However, the application name of an existing application instance can be renamed in the `apminsight.conf` file and ...
                    • How to enable or disable error tracking in the PHP agent?

                      To enable error tracking, set the zpa.track_errors directive to 1 in the zpa.ini (Linux) or php.ini (Windows) file. Similarly, to disable, set it to 0. To enable error tracking: zpa.track_errors = 1 To disable error tracking: zpa.track_errors = 0 To ...
                    • How to enable or disable exception tracking in the PHP agent?

                      To enable exception tracking, set the zpa.track_exceptions directive to 1 in the zpa.ini (Linux) or php.ini (Windows). Similarly, to disable it, set it to 0. To enable error tracking: zpa.track_exceptions = 1 To disable error tracking: ...
                    • How to add an APM Insight Java agent in Kubernetes via InitContainers?

                      Step 1. Create a secret to access the APM Insight license key in your application namespace: kubectl create secret generic app-secret --from-literal=s247licensekey='your_APMInsight_license_key' -n petclinic The license key can be obtained from the ...