首页 > 其他 > 详细

actuator

时间:2020-05-01 20:36:11      阅读:55      评论:0      收藏:0      [点我收藏+]
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
        </dependency>
# 显示详情
management:
  endpoint:
    health:
      show-details: always
  endpoints:
    web:
      exposure:
        include: ‘*‘
#        include: metrics,health

# 自定义info
info:
  app-name: springboot-demo
  author: fly
spring:
  profiles:
    active: default

# 连接符
---
spring:
  profiles: dev

management:
  endpoint:
    health:
      show-details: never

  endpoints:
    web:
      exposure:
        include: metrics,health

actuator

原文:https://www.cnblogs.com/fly-book/p/12814543.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!