fix: iot-gateway添加admin监控
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -43,6 +43,17 @@ rocketmq:
|
||||
producer:
|
||||
group: ${spring.application.name}_PRODUCER
|
||||
|
||||
--- #################### 监控相关配置 ####################
|
||||
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: "*"
|
||||
endpoint:
|
||||
health:
|
||||
show-details: always
|
||||
|
||||
--- #################### IoT 网关相关配置 ####################
|
||||
|
||||
viewsh:
|
||||
|
||||
Reference in New Issue
Block a user