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
...
zpa_transaction_name("<any url name>")
...
?>
Note:
- The string must be alpha numeric. Only '_' and '/' are allowed as special characters. Any other special character will be replaced by '_'.
- If the API is called after uninstalling the PHP agent, your application would throw error. So remove the API when uninstalling PHP agent.