Monitoring Continue- Expose Spring Boot Actuator Endpoints

Learn about the health, metrics, logger, and info endpoint provided by the Spring Boot actuator.

Exposing actuator endpoints

Here is how you can expose individual actuator endpoints over HTTP and JMX using application properties -

  • Exposing Actuator endpoints over HTTP
## Use "*" to expose everyting, or a comma-separated list to expose selected ones
management.endpoints.web.exposure.include=health,info 
management.endpoints.web.exposure.exclude=
  • Exposing Actuator endpoints over JMX
## Use "*" to expose everything, or a comma-separated list to expose selected ones
management.endpoints.jmx.exposure.include=*
management.endpoints.jmx.exposure.exclude= health

Get hands-on with 1200+ tech skills courses.