Commit fde690df84707bf373d7a152ba100429fb8df916
Merge remote-tracking branch 'origin/dev' into test
Showing
1 changed file
with
17 additions
and
0 deletions
fw-hermes-server/src/main/resources/application.yml
@@ -110,6 +110,23 @@ server: | @@ -110,6 +110,23 @@ server: | ||
110 | undertow: | 110 | undertow: |
111 | worker-threads: 50 | 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 | task: | 130 | task: |
114 | switch: 'on' | 131 | switch: 'on' |
115 | 132 |