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

                    • 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 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 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 ...
                    • Reconfigure APM Insight PHP agent after 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 modify the APM Insight PHP agent's communication port?

                      The PHP 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 ...