Enabling and disabling 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).
  1. In the .htaccess (Linux),
    php_value zpa.capture_distributed_trace 1 

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

 
    • Related Articles

    • How to identify and resolve conflicts between other APM products and the APM Insight .NET agent

      Problem statement: You are experiencing either of the below issues and suspect that another APM product is interfering with the Site24x7 .NET agent. 1. The .NET monitor is not created under APM > APM Insight > Applications, even after the .NET agent ...
    • APM Insight integration for Next.js in Kubernetes

      To integrate the Site24x7 APM Insight Next.js agent into your Kubernetes application using initContainers with the prebuilt agent image, follow the steps below: Prerequisites A Next.js application container image The Site24x7 APM Insight license key ...
    • Troubleshoot the Error 404 and Error 99 for RabbitMQ

      When installing the RabbitMQ plugin, you may encounter the following errors: HTTP Error 404: Not Found: This error usually occurs when Site24x7's RabbitMQ monitoring plugin attempts to access the /api/overview page of RabbitMQ, but the resource ...
    • Real User Monitoring (RUM) Licensing

      RUM licensing is based on Pageviews. Site24x7 includes RUM in all the plans available. The number of Pageviews and Sites provided differs based on the plan. Your RUM license limit is reset at the start of every month. Please check the below list for ...
    • Executables and scripts to allow for Windows server monitoring

      One of the reasons you could not enable Site24x7 server monitoring could be your organization's group policy denying access to the executables, scripts, and batch files associated with Site24x7 server monitoring. Mark the following executables, ...