Help Docs

Install Java agent on SonarQube

  1. Download the apminsight-javaagent.zip file from your account and extract the zip file to a new directory
  2. Open apminsight.conf file, and add license.key value, which can be obtained from Site24x7 APM Insight page. Also provide an appropriate name for the application in the key application.name
  3. Edit the file <Sonarqube_installed_directory>/conf/sonar.properties
  4. Under the WEB SERVER configuration, uncomment the property (if commented) sonar.web.javaAdditionalOpts
  5. Add -javaagent:<agent_directory_full_path>/apminsight-javaagent.jar and save the fileInstall Java agent in Sonarqube
  6. Once the changes are made, please restart the Sonarqube server

Was this document helpful?

Shortlink has been copied!