How to customize instrumentation in PHP agent?

How to customize instrumentation in PHP agent?

By default, the following components are tracked: CASSANDRA, CURL, MSSQL, MYSQL, ORACLE, REDIS, MEMCACHED, 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) file.

Configuration to enable components tracking:
In the zpa.ini (Linux) or php.ini (Windows) file, set   
zpa.capture_casssandra = 1
zpa.capture_http = 1
zpa.capture_mssql = 1
zpa.capture_mysql = 1
zpa.capture_oracle = 1
zpa.capture_pdo = 1
zpa.capture_postgres = 1
zpa.capture_redis = 1
zpa.capture_memcached = 1
Configuration to disable components tracking:
In the zpa.ini (Linux) or php.ini (Windows) file, set
zpa.capture_casssandra = 0
zpa.capture_http = 0
zpa.capture_mssql = 0
zpa.capture_mysql = 0
zpa.capture_oracle = 0
zpa.capture_pdo = 0
zpa.capture_postgres = 0
zpa.capture_redis = 0
zpa.capture_memcached = 0

                  New to ADSelfService Plus?

                    • Related Articles

                    • How to install the APM Insight PHP Agent in an Azure Web App?

                      Follow these steps to install and configure the APM Insight PHP Agent in an Azure Web App. Step 1: Create a deployment script Navigate to the directory /home/apm/ (create it if it doesn’t exist). Create a new shell script named apm-phpagent-deploy.sh ...
                    • Customize URL names using PHP agent API

                      With APM Insight PHP agent, you can customize URL names for your web transactions. Here's how you can do it: Open the PHP script of the transaction for which you want to customize the URL. Add the following snippet in any part of the PHP script <?php ...
                    • PHP Monitor Troubleshooting

                      PHP Monitor Errors and Troubleshooting Guide Check if the phpstats.php file in the webserver's document root. Ensure there are no modifications done in phpstats.php file Check if the given PHP path is correct. Retry with the "SSL is enabled" option ...
                    • How to upgrade PHP Agent

                      PHP Agent version below 3.2.2 Manual upgrade from user terminal: Whenever a new version of the agent goes live, it will be listed in the APM Insight Download page. The latest agent can also be downloaded from the Applications Manager web client, from ...
                    • How to Install .NET agent on AWS Elastic Beanstalk?

                      One of the two options listed below can be used to install APM Insight agent onto a .NET web application hosted in Elastic Beanstalk environment via ebextensions. Deployment through AWS kit for Visual Studio. Deployment via uploading packages to AWS ...