Enable or disable method tracking in the APM Insight PHP agent

How to enable or disable method tracking in the PHP agent?

To enable method tracking, set the "zpa.track_zend_execute" and "zpa.track_zend_execute_internal" directive to "1" in the zpa.ini (Linux) or php.ini (Windows). Similarly, to disable, set to "0."
 
To enable method tracking:
  1. Internal (built-in) functions
    zpa.track_zend_execute_internal = 1
  2. User defined functions
    zpa.track_zend_execute = 1
To disable method tracking:
  1. Internal (built-in) functions
    zpa.track_zend_execute_internal = 0
  2. User defined functions
    zpa.track_zend_execute = 0

    • Related Articles

    • How to enable or disable error tracking in the PHP agent?

      To enable error tracking, set the zpa.track_errors ini directive to 1. Similarly, to disable it, set it to 0. To enable error tracking: zpa.track_errors=1 To disable error tracking: zpa.track_errors=0 Refer to this document on how to modify the PHP ...
    • 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, set to "0." To enable error tracking: zpa.track_exceptions = 1 To disable error tracking: ...
    • 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), ...
    • How to customize instrumentation in PHP agent?

      By default, the following components are tracked: CASSANDRA, CURL, MSSQL, MYSQL, ORACLE, PDO, and POSTGRES. These can be individually enabled or disabled by modifying the corresponding ini directive in the zpa.ini (Linux) or php.ini (Windows). ...
    • How to add APM Insight Java agent without application restart?

      In general, after installing the APM Insight Java agent, you have to restart your application for the agent to capture monitoring data. But in case of critical issues in the app, like sudden application slowness, where you haven't installed APM ...