Commit a9c964674a43d1e889276c7f3ddf465b9fcdd891
Merge remote-tracking branch 'origin/test'
Showing
1 changed file
with
18 additions
and
0 deletions
fw-shirasawa-server/src/main/resources/application.yml
... | ... | @@ -111,6 +111,24 @@ logbook: |
111 | 111 | style: http |
112 | 112 | write: |
113 | 113 | max-body-size: 300 |
114 | + | |
115 | +management: | |
116 | + endpoints: | |
117 | + web: | |
118 | + exposure: | |
119 | + include: '*' | |
120 | + # 监控路径前缀 | |
121 | + base-path: /actuator | |
122 | + endpoint: | |
123 | + # 开启允许远程shutdown,通过post请求。 | |
124 | + shutdown: | |
125 | + enabled: true | |
126 | + health: | |
127 | + show-details: always | |
128 | + metrics: | |
129 | + tags: | |
130 | + application: ${spring.application.name} | |
131 | + | |
114 | 132 | follow: |
115 | 133 | max-size: 1000 |
116 | 134 | pno: 'BRB72153X6' | ... | ... |