添加SpringBoot Admin监控中心支持

This commit is contained in:
macro
2019-10-17 17:26:37 +08:00
parent 47eaa3a5af
commit 02a2509530
14 changed files with 219 additions and 3 deletions

View File

@@ -17,4 +17,12 @@ eureka:
register-with-eureka: true
fetch-registry: true
service-url:
defaultZone: http://localhost:8001/eureka/
defaultZone: http://localhost:8001/eureka/
management: #开启SpringBoot Admin的监控
endpoints:
web:
exposure:
include: '*'
endpoint:
health:
show-details: always