How to enable and disable distributed tracing in PHP applications?

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),
zpa.capture_distributed_trace = 1
To disable distributed tracing:
In the zpa.ini (Linux) or php.ini (Windows),
zpa.capture_distributed_trace = 0

To enable or disable distributed tracing for a specific application, update the .htaccess (Linux) or .user.ini (Windows).

    In the .htaccess (Linux),
    php_value zpa.capture_distributed_trace 1

    In the .user.ini (Windows),
    zpa.capture_distributed_trace = 1


                  New to ADSelfService Plus?

                    • Related Articles

                    • PHP Monitor Troubleshooting

                      PHP Monitor Errors and Troubleshooting Guide Check if the phpstats.php file in the webserver's document root. Ensure there is no modifications done in phpstats.php file Check if the correct PHP path is given. Retry with the "SSL is enabled" option ...
                    • 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 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 cloud detection in standalone Applications using .NET/.NET Core agent?

                      Note: This option is supported from APM Insight .NET/.NET Core agent version 6.5.1 onwards. Below are the steps to enable or disable cloud detection in standalone environments: 1. Open the apminsight.conf file in a text editor, which is located in ...
                    • Disable HTTP access in Applications Manager

                      Overview This article describes configuring a secure connection between Applications Manager server and the browser/client. Applications Manager can be accessed through any of the following URLs: For HTTP  -> http://[hostname/ip-address]:[http-port] ...