今天使用Spring boot的actuator查看一些应用信息,发现除了/health和/info之外的端点全部报404空白,解决办法如下

在Spring boot项目配置文件application.yaml增加如下配置

management:
  endpoints:
    web:
      exposure:
        include: "*"

此外还有一些其他的配置,可以根据情况自己选择

运行项目,看到端点正常

解决Spring boot actuator一些端点连接 404 问题

相关文章:

  • 2021-08-16
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2021-06-10
  • 2021-09-24
  • 2022-02-04
猜你喜欢
  • 2021-10-16
  • 2021-09-02
  • 2021-05-05
  • 2021-06-26
  • 2021-12-10
  • 2022-12-23
  • 2021-10-06
相关资源
相似解决方案