- 添加 sentinel

This commit is contained in:
sin
2019-05-15 16:44:13 +08:00
parent 2187ae2662
commit 633c7504a4
3 changed files with 18 additions and 2 deletions

View File

@@ -60,9 +60,10 @@
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
</dependency>
<!-- sentinel -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
</dependency>
<!-- 测试相关 -->

View File

@@ -1,6 +1,14 @@
spring:
application:
name: admin-application
cloud:
sentinel:
transport:
port: 8719
dashboard: localhost:18001
metric:
charset: UTF-8
eager: false
# server
server: