Customize URL names using PHP agent API

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:   
  1. Open the PHP script of the transaction for which you want to customize the URL.
  2. Add the following snippet in any part of the PHP script
             <?php
             ...
             zpa_transaction_name("<any url name>")
             ...
             ?>
Note:    
  1. The string must be alpha numeric. Only '_' and '/' are allowed as special characters. Any other special character will be replaced by '_'.
  2. If the API is called after uninstalling the PHP agent, your application would throw error. So remove the API when uninstalling PHP agent.





                    New to ADSelfService Plus?

                      • Related Articles

                      • Troubleshooting URL Monitor

                        Here are few of the common errors you may come across in URL monitor, we have mentioned the steps you can follow to troubleshoot them. General troubleshooting for URL monitor Ensure that the URL is accessible from the server in which Applications ...
                      • Service Now Event Integration using Webhook / Rest API Action

                        Steps to perform in Service Now 1) Login to your ServiceNow Instance(dev*****133.service-now.com) 2) Search for the Rest API Explorer and open it 3) In the Rest API Explorer page choose the Namespace and API Name with the proper API version. For ...
                      • 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 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 ...