Monitor your built-in endpoints- Spring Boot Lab 2

Hi Readers,

I am happy to post another blog post on how to monitor your built-in endpoints of your Spring Boot application.

While i was checking my STS console my look peeped into area which is shown below.

springbootjosepraveen3.PNG

If you like to activate your built-in endpoints in your spring boot applciation. Just add the below dependencies in your pom.xml file

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

After adding the above dependencies in pom.xml take a maven build with goals as clean install and run the spring boot application.

You will notice the above image in the console which gets rolled out.

Open a browser and hit the below ones.

http://localhost:8080/health,

http://localhost:8080/env ,

http://localhost:8080/beans,

http://localhost:8080/beans,

http://localhost:8080/trace,

http://localhost:8080/info,

http://localhost:8080/trace

If you get stuck, kindly comment below.

Ask me your questions/ doubt in quora.

Thanks for reading this post. Subscribe my blog for  some awesome posts.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s