Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (32 sloc) 2.12 KB
id title date author layout guid permalink image categories tags
Monitor your Spring Boot applications with Actuator
2017-03-08 00:09:26 +0000
Marco Molteni

When you have deployed many applications in your server / cloud it’s not easy to monitor their individual status.

You should verify that the server, the application and the database are working correctly.

Spring Boot help us to go in the direction of an automatic control of the status of the application exposing (on request) many information about it.

If you use the @SpringBootApplication annotation in your Application class and you add the Actuator dependency to your maven dependencies


Spring generates for you a lot of predefined endpoints (accessible via REST) with a lot of internal information of the application: memory, beans, etc.

You can find the list of the endpoints here:

The type and quantity of information can be configured. This endpoints allow us to use external tools (e.g. regular ping or analysis of the JSON response) to create status dashboards and monitor if everything is working correctly or an intervention is required.

Spring cleverly hides some sensitive fields like ‘password’ automatically and it can cache the results to reduce the impact of DDoS attacks.

You can see some examples of the result on my sample website: