Skip to main content

Posts

Showing posts from March, 2020

Spring Actuator

What is an actuator? It is app monitoring tool for health check applications user some endpoint urls. Monitoring our app, gathering metrics, understanding traffic or the state of our database becomes trivial with this dependency. The main benefit of this library is that we can get production grade tools without having to actually implement these features ourselves. Actuator is mainly used to expose operational information about the running application –  health, metrics, info, dump, env, etc. It uses HTTP endpoints or JMX beans to enable us to  interact with it. Once this dependency is on the classpath several endpoints are available for us out of the box.  As with most Spring modules, we can easily configure or extend it in many ways. Problem How can I monitor and manage my application? How can I check the application's health? How can I access application metrics? Solution: Spring Boot Actuator Exposes endpoints to monitor and manage your...