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

                    • 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 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 ...
                    • Troubleshooting URL Monitor

                      When configuring a URL monitor in Applications Manager, you might encounter several errors related to accessibility, configuration, or server-side issues. Below are common errors along with step-by-step troubleshooting instructions to help you ...
                    • How to generate a URL Debug Tool Response for troubleshooting?

                      The URL Debug Tool in Applications Manager helps you analyze and troubleshoot the performance of URLs and their components on webpages. It executes the URL, collects performance data, and provides detailed reports for further analysis. Follow the ...
                    • REST API Monitor - FAQS

                      1. What to do when Basic Authentication fails in REST API monitor? When Basic Authentication fails in the REST API monitor, follow the below steps to troubleshoot the error. Ensure the credentials provided in Applications Manager (Username and ...