fix: iot-gateway添加admin监控
Some checks failed
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled

This commit is contained in:
lzh
2026-01-14 17:01:56 +08:00
parent b0300ef5d9
commit 0768ac345e
2 changed files with 17 additions and 0 deletions

View File

@@ -23,6 +23,12 @@
<version>${revision}</version>
</dependency>
<!-- 监控相关 -->
<dependency>
<groupId>com.viewsh</groupId>
<artifactId>viewsh-spring-boot-starter-monitor</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>

View File

@@ -43,6 +43,17 @@ rocketmq:
producer:
group: ${spring.application.name}_PRODUCER
--- #################### 监控相关配置 ####################
management:
endpoints:
web:
exposure:
include: "*"
endpoint:
health:
show-details: always
--- #################### IoT 网关相关配置 ####################
viewsh: