Help Docs

Installing Java Agent in a Spring Boot application

Note

Refer to this help page for the previous steps.

  1. Extract the zip file to a new directory to find agent jar and its configuration files
  2. 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.
  3. Add the following argument to your application startup command.
    java -javaagent:<agent_directory_full_path>/apminsight-javaagent.jar <your_application_JVM_args_if_any> -jar <spring_application>.jar
    Example:
    java -javaagent:/opt/apm/apminsight-javaagent.jar -jar <spring_appliction>.jar

 

Video

Here's a quick video on how to install a Site24x7 APM Insight Java agent in a Spring Boot application.

Was this document helpful?

Shortlink has been copied!