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-dev.yaml |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/shasteel-biz/src/main/resources/application-dev.yaml b/shasteel-biz/src/main/resources/application-dev.yaml
index 2a98a1b..080143f 100644
--- a/shasteel-biz/src/main/resources/application-dev.yaml
+++ b/shasteel-biz/src/main/resources/application-dev.yaml
@@ -56,17 +56,6 @@
       exposure:
         include: '*' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。
 
-# Spring Boot Admin 配置项
-spring:
-  boot:
-    admin:
-      # Spring Boot Admin Client 客户端的相关配置
-      client:
-        instance:
-          service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]
-      # Spring Boot Admin Server 服务端的相关配置
-      context-path: /admin # 配置 Spring
-
 --- #################### MQ 消息队列相关配置 ####################
 
 # rocketmq 配置项,对应 RocketMQProperties 配置类

--
Gitblit v1.9.3