Commit fa602ae510515c0dcd6b1ffb79f258cedc17dbc4

Authored by 张志伟
1 parent b4d7e881

feature(*): 修改配置文件

- 修改配置文件
fw-hermes-server/src/main/resources/application.yml
... ... @@ -110,6 +110,23 @@ server:
110 110 undertow:
111 111 worker-threads: 50
112 112  
  113 +management:
  114 + endpoints:
  115 + web:
  116 + exposure:
  117 + include: '*'
  118 + # 监控路径前缀
  119 + base-path: /actuator
  120 + endpoint:
  121 + # 开启允许远程shutdown,通过post请求。
  122 + shutdown:
  123 + enabled: true
  124 + health:
  125 + show-details: always
  126 + metrics:
  127 + tags:
  128 + application: ${spring.application.name}
  129 +
113 130 task:
114 131 switch: 'on'
115 132  
... ...