Sentinel 整合完成

This commit is contained in:
2023-08-17 09:16:56 +08:00
parent f022d1a9a4
commit d50c81ecaa
14 changed files with 122 additions and 13 deletions

View File

@@ -19,6 +19,10 @@
</properties>
<dependencies>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>

View File

@@ -14,3 +14,8 @@ spring:
discovery:
# 配置Nacos注册中心地址
server-addr: localhost:8848
namespace: dd668135-0bfe-489f-ab2b-24aefb21d156
sentinel:
transport:
# 添加监控页面地址即可
dashboard: localhost:8858