欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

actuator beans不展示

程序员文章站 2023-10-16 12:34:56
引入actuator后发现 health可以正常展示。 但是发现beans无法展示 解决: 在application.properties里面加入配置: ......
<dependency>
            <groupid>org.springframework.boot</groupid>
            <artifactid>spring-boot-starter-actuator</artifactid>
        </dependency>

引入actuator后发现 health可以正常展示。

但是发现beans无法展示

actuator beans不展示

 

解决:

在application.properties里面加入配置:

management.endpoints.web.exposure.include=*