Install APM Insight Java agent in ColdFusion
Follow the below steps to install APM Insight Java agent in ColdFusion:
- Download the latest APM Insight Java agent (apminsight-javaagent.zip) file.
- Extract the zip file to a new directory to find agent jar and its configuration files.
- Open the apminsight.conf file in any text editor and include/modify the following keys:
license.key=[LICENSE KEY]
apm.host=http://[HOST]:[PORT]
application.name=[APPLICATION NAME]
where
- [LICENSE KEY] - License key obtained from Applications Manager under APM Insight tab.
- [HOST] - Host at which Applications Manager is running.
- [PORT] - Port number at which Applications Manager is running.
- [APPLICATION NAME] - Name of your application.
Example:
license.key=APMI_74447444b666d7ab5174cc3021a9b68dd4b3364d50f99c2969360810313e8fac
apm.host=http://apm-prod-server:9090
application.name=ColdFusion_Server
To learn more about the configurations, visit our Configuration Guide page.
- Go to the ColdFusion admin console. On the left menu, select SERVER SETTINGS → Java and JVM.
- In the textbox for JVM Arguments, add the following argument:
-javaagent:<agent_directory_full_path>/apminsight-javaagent.jar
- After specifying the above argument, save the configuration and restart the server.