或许在SpringCloud 版本中,该访问路径是默认不开启的,所以我们需要手动开启昂 在被监控方的application.yml 中添加如下 #暴露全部的监控信息 management: endpoints: web: exposure: include: "*"