Commit 622bb5b5f113ae8d53c1bcba0f57a6a7b19c2739
1 parent
d421781e
feature(*): 修改配置文件
- 修改配置文件
Showing
1 changed file
with
17 additions
and
0 deletions
fw-hestia-server/src/main/resources/application.yml
... | ... | @@ -113,6 +113,23 @@ logbook: |
113 | 113 | format: |
114 | 114 | style: http |
115 | 115 | |
116 | +management: | |
117 | + endpoints: | |
118 | + web: | |
119 | + exposure: | |
120 | + include: '*' | |
121 | + # 监控路径前缀 | |
122 | + base-path: /actuator | |
123 | + endpoint: | |
124 | + # 开启允许远程shutdown,通过post请求。 | |
125 | + shutdown: | |
126 | + enabled: true | |
127 | + health: | |
128 | + show-details: always | |
129 | + metrics: | |
130 | + tags: | |
131 | + application: ${spring.application.name} | |
132 | + | |
116 | 133 | task: |
117 | 134 | switch: 'on' |
118 | 135 | max-size: 1000 |
119 | 136 | \ No newline at end of file | ... | ... |