项目环境描述:
springcloud:eureka注册中心,apollo配置中心,springboot-admin-server 监控

出现问题:项目整合actuator后,actuator提供的端点无法注册到HandleMapping中,倒置监控服务一直显示down状态

问题出现原因:

management:
  endpoints:
    web:
      exposure:
        include: "*"
  endpoint:
    health:
      show-details: always

上面的actuator配置不能配置在apollo中

将该配置在bootstrap或者application中写死就行

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐