diff --git a/fw-shirasawa-server/src/main/resources/application.yml b/fw-shirasawa-server/src/main/resources/application.yml index cd61a7c..0e0f5b5 100644 --- a/fw-shirasawa-server/src/main/resources/application.yml +++ b/fw-shirasawa-server/src/main/resources/application.yml @@ -111,6 +111,24 @@ logbook: style: http write: max-body-size: 300 + +management: + endpoints: + web: + exposure: + include: '*' + # 监控路径前缀 + base-path: /actuator + endpoint: + # 开启允许远程shutdown,通过post请求。 + shutdown: + enabled: true + health: + show-details: always + metrics: + tags: + application: ${spring.application.name} + follow: max-size: 1000 pno: 'BRB72153X6'