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.
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 is no modifications done in phpstats.php file Check if the correct PHP path is given. Retry with the "SSL is enabled" option ...
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 ...
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 ...