Install APM Insight Java Agent in Jira server


Follow the below steps to install APM Insight Java agent in Jira server:
  • 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 the following keys:
    license.key=[LICENSE KEY]
    apm.host=http://[HOST]:[PORT]/

    Example:

    license.key=APMI_74447444b666d7ab5174cc3021a9b68dd4b3364d50f99c2969360810313e8fac
    apm.host=http://apm-prod-server:9090/
    To learn more about the configurations, visit our Configuration Guide page.
  • For Windows, edit the catalina.bat file located under <Installation_Directory>/atlassian/jira/bin/ directory 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 catalina.sh file located under <Installation_Directory>/atlassian/jira/bin/ directory 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.