1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

Check the health status of Sentinel DataSource using AbstractDataSource#loadConfig.

This commit is contained in:
cdfive
2019-05-28 21:53:41 +08:00
parent 3e2fa1b903
commit 584d5f4107
5 changed files with 162 additions and 19 deletions

View File

@@ -3,6 +3,10 @@ server.port=18083
management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=always
# we can disable health check, default is enable
management.health.diskspace.enabled=false
# management.health.sentinel.enabled=false
spring.cloud.sentinel.transport.dashboard=localhost:8080
spring.cloud.sentinel.eager=true