1.引入依赖

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

2.在yml文件中添加设置

management:
  security:
    enabled: false

springBoot 使用actuator监控

http://localhost:7021/env

springBoot 使用actuator监控

相关文章:

  • 2021-11-22
  • 2021-04-26
  • 2021-08-17
  • 2019-10-24
  • 2018-10-20
  • 2021-02-19
  • 2021-09-10
猜你喜欢
  • 2019-12-26
  • 2018-02-06
  • 2021-12-10
  • 2018-09-11
  • 2021-04-28
  • 2019-11-20
  • 2019-07-23
相关资源
相似解决方案