为什么使用
查看若干springboot的有用的信息
引入
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
可看什么
配置
management:
endpoint:
env:
enabled: true
endpoints:
web:
exposure:
include: "*" #将所有的端点都暴露出来
springboot 的四大神器
Spring Boot有四大神器,分别是auto-configuration、starters、cli、actuator
参考 https://docs.spring.io/spring-boot/docs/current/reference/html/index.html