From 913f90d6947bd38d2ab45c0e9f47945cd48da533 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期二, 21 一月 2025 11:31:31 +0800
Subject: [PATCH] 增加springboot admin日志监控配置--只保留监控端点的配置项

---
 shasteel-biz/src/main/resources/application-test.yaml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/shasteel-biz/src/main/resources/application-test.yaml b/shasteel-biz/src/main/resources/application-test.yaml
index 1b8219d..9d651d4 100644
--- a/shasteel-biz/src/main/resources/application-test.yaml
+++ b/shasteel-biz/src/main/resources/application-test.yaml
@@ -60,6 +60,16 @@
     database: 8 # 数据库索引
     password: 123456 # 密码,建议生产环境开启
 
+--- #################### 监控相关配置 ####################
+
+# Actuator 监控端点的配置项
+management:
+  endpoints:
+    web:
+      base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator
+      exposure:
+        include: '*' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。
+
 --- #################### 平台相关配置 ####################
 
 # 平台配置项,设置当前项目所有自定义的配置

--
Gitblit v1.9.3