java spring boot 开启监控信息

2022-11-03,,,,

效果:

配置

//     pom
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
// application.properties
# spring boot 开启监控信息
management.endpoints.web.exposure.include=*
management.endpoints.web.exposure.exclude=shutdown

java spring boot 开启监控信息的相关教程结束。

《java spring boot 开启监控信息.doc》

下载本文的Word格式文档,以方便收藏与打印。