How to enable all endpoints in actuator (Spring Boot 2.0.0 RC1)

With Spring Boot 2.0.0.RC1, actuator endpoints must be 1) enabled and 2) exposed.

By default, all endpoints but shutdown are enabled and only health and info are exposed.

In your case, the following should work:

management.endpoints.web.expose=*
# if you'd like to expose shutdown:
# management.endpoint.shutdown.enabled=true

Note that this changes (again!) as of Spring Boot 2.0.0.RC2:

management.endpoints.web.exposure.include=*
# if you'd like to expose shutdown:
# management.endpoint.shutdown.enabled=true

In doubt, the dedicated migration guide is always up-to-date with the latest changes.

Edit

For easy copy and paste, here’s the `yaml´ versions – as of Spring Boot 2.0.0.RC2:

management:
  endpoints:
    web:
      exposure:
        include: "*"

before:

management:
  endpoints:
    web:
      expose: "*"

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)