码迷,mamicode.com
首页 > 其他好文 > 详细

actuator

时间:2020-05-01 20:34:51      阅读:86      评论:0      收藏:0      [点我收藏+]

标签:dem   连接   detail   spring   points   tar   poi   app   gem   

        <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

标签:dem   连接   detail   spring   points   tar   poi   app   gem   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!