How to Configure Wily with Spring Boot Application

Spring boot application is way to embed all the plugins in single jar, You just need to java to run spring boot application. Spring boot provides option to include tomcat embedded or external tomcat.
here in this article i will let you know , how to configure wily introscope with spring boot application. There are following options available to integrate wily with your application. Wily is widely used monitoring tool for application.

Option 1: Application using external Tomcat

Step 1: We will create profile in wily agent.
Step 2: we will create a variable(wily_agnet) and reference above profile in tomcat setenv.sh file.
wily_agnet = "-javaagent:/Agent.jar -Dcom.wily.introscope.agentProfile=
-Dcom.wily.introscope.agent.agentName="

Step 3: Add above variable (wily_agnet) with tomcat CATALINA variable.
Step 4: restart Tomcat.
Step 5: Now open your wily introscope manager and check your profile name.

Option 2: Application using embedded Tomcat

You can configured using below command
java -jar abc.jar -javaagent:/Agent.jar -Dcom.wily.introscope.agentProfile=
-Dcom.wily.introscope.agent.agentName=