在SpringBoot的application.yml配置文件中加入
management:
endpoints:
web:
exposure:
include: "*"

本文介绍如何在SpringBoot应用中通过配置application.yml文件,实现管理端点的全面暴露,便于进行健康检查、信息展示等操作。
在SpringBoot的application.yml配置文件中加入
management:
endpoints:
web:
exposure:
include: "*"


被折叠的 条评论
为什么被折叠?