Install APM Insight Java Agent in Jira server


  • 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:8443/
    To learn more about the configurations, visit our Configuration Guide page.
  • For Windows, Edit the file at <installation_directory>/atlassian/jira/bin/catalina.bat to add the following JVM argument
set "JAVA_OPTS=%JAVA_OPTS% -javaagent:{full_path_to_agent_directory}/apminsight-javaagent.jar -Datlassian.org.osgi.framework.bootdelegation=com.manageengine.*,sun.*,org.apache.xerces,org.apache.xerces.*"
  • For Linux, Edit the file at <installation_directory>/atlassian/jira/bin/catalina.sh to add the following JVM argument
JAVA_OPTS="$JAVA_OPTS -javaagent:{full_path_to_agent_directory}/apminsight-javaagent.jar -Datlassian.org.osgi.framework.bootdelegation=com.manageengine.*,sun.*,org.apache.xerces,org.apache.xerces.*"
  • Restart the Jira server.