Install APM Insight Java Agent in Resin 3.1.x servers & above


  • Download latest the APM Insight java agent zip file (apminsight-javaagent.zip) here
  • 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 the following keys:
    license.key=[LICENSE KEY]
    apm.host=https://[HOST]:[PORT]/

    Example:

    license.key=APMI_74447444b666d7ab5174cc3021a9b68dd4b3364d50f99c2969360810313e8fac
    apm.host=https://app-w8-test:9007/
    To learn more about the configurations, visit our Configuration Guide page.
  • For Resin 3.x servers, Open <RESIN_HOME>/conf/resin.conf file in any text editor. Locate your <cluster> tag and the <server> tag of the server you need to monitor and add the following tag:
<jvm-arg>-javaagent:<agent_directory_full_path>/apminsight-javaagent.jar</jvm-arg>
  • For Resin 4.x servers, Open <RESIN_HOME>/conf/resin.xml file in any text editor. Locate your <cluster> tag and the <server> tag of the server you need to monitor and add the following tag:
<jvm-arg>-javaagent:<agent_directory_full_path>/apminsight-javaagent.jar</jvm-arg>
  • Save the file and start the Resin server.