I work with Spring Cloud and I want to configure Zuul
application.yml of zuul service is
server:
port: 5555
#Setting logging levels
logging:
le
By default only the /health
and /info
endpoints are exposed.
As the documentation indicates, you need to expose the endpoints:
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Migration-Guide#endpoints
So for a yaml file:
management:
endpoints:
web:
exposure:
include: '*'
or if you only want exposure routes
:
management:
endpoints:
web:
exposure:
include: 'routes'
/actuator/routes
will be available.