修改 shop-web-app 增加监控依赖

pull/4/MERGE
YunaiV 2020-08-27 01:09:59 +08:00
parent c208456bc2
commit e0d7731626
2 changed files with 11 additions and 0 deletions

View File

@ -91,6 +91,12 @@
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
<!-- 监控相关 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- 工具类相关 -->
<dependency>
<groupId>org.projectlombok</groupId>

View File

@ -60,3 +60,8 @@ swagger:
description: 提供用户商城购物流程中的 API
version: 1.0.0
base-package: cn.iocoder.mall.shopweb.controller
# Actuator 监控配置项
management:
server.port: 38088 # 独立端口,避免被暴露出去
endpoints.web.exposure.include: '*' # 暴露所有监控端点