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

Exploring common actuator endpoints

Here is how we can expose individual actuator endpoints over HTTP and JMX using application properties:

  • Exposing Actuator endpoints over HTTP
  • Exposing Actuator endpoints over JMX

Exploring common actuator endpoints

We will now ...

Get hands-on with 1400+ tech skills courses.