Follow the below steps to install APM Insight Java agent in Spring Boot applications:
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 agent configurations, visit our Configuration Guide page.
java -javaagent:<agent_directory_full_path>/apminsight-javaagent.jar <Your JVM arguments> -jar <Your application>.jar
Example:
java -javaagent:D:/apm/apminsight-javaagent.jar -Xms64m -Xmx1024m -jar MyApplication.jar
Note: Please ensure that the -javaagent argument is placed before -jar parameter in the startup command.