http://127.0.0.1:8081/health
正常监控看到的页面如下:
{
description: "Spring Cloud Eureka Discovery Client",
status: "UP"
}
加入配置后
management.security.enabled=false
显示如下内容【详情出来啦】
{
description: "Spring Cloud Eureka Discovery Client",
status: "UP",
discoveryComposite: - {
description: "Spring Cloud Eureka Discovery Client",
status: "UP"
...
}
...
}
-Source Online