How to configure the number of method calls to be tracked in the trace details in PHP applications?
The first 1000 methods that exceed the method threshold are tracked by default, after which only the external calls are tracked. You can modify this by changing the zpa.additional_buffer directive in the zpa.ini (Linux) or php.ini (Windows).
In the zpa.ini (Linux) or php.ini (Windows),
zpa.additional_buffer = 0
If the value of zpa.additional_buffer is 0, it indicates that the first 1000 methods will be tracked; if it is 2, it indicates that the first 1002 methods will be tracked; and if it is 5, it indicates that the first 1005 methods will be tracked.
How to modify the APM Insight PHP agent's communication port?
The agent uses ports 20021 and 20022 by default. You can change these ports by modifying the appropriate directive in the zpa.ini file (Linux) or php.ini file (Windows), as well as in the apminsight.conf file (Linux and Windows). Default ...
Reconfigure APM Insight PHP agent during PHP version upgrade
If you have upgraded your PHP version and face problems in monitoring after the upgrade, here's how you can resolve it. In general, APM Insight PHP agent registers with the PHP version present in the server at the time of installation. So when you ...
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 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: Internal (built-in) ...
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), ...