Install Java agent in SonarQube
- Download the apminsight-javaagent.zip file from your account and extract the zip file to a new directory
- 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
- Edit the file <Sonarqube_installed_directory>/conf/sonar.properties
- Under the WEB SERVER configuration, uncomment the property (if commented) sonar.web.javaAdditionalOpts
- Add -javaagent:<agent_directory_full_path>/apminsight-javaagent.jar and save the file
- Once the changes are made, please restart the Sonarqube server