Installing Java Agent in spring boot application
Installing Java Agent to spring boot Application
- Extract the zip file to a new directory to find agent jar and its configuration files
- Open apminsight.conf file in any text editor and add license.key value, which can be obtained from Site24x7 APM Insight page. Refer here to fine tune the agent settings.
- Add the following argument to your application startup command.
-javaagent:<agent_directory_full_path>/apminsight-javaagent.jarExample:java -javaagent:/opt/apm/apminsight-javaagent.jar -jar <spring_appliction>.jar