基于 Sentinel 1.8.3源码 及 Spring Cloud Alibaba 2.1.0.RELEASE源码 进行案例入门测试
一、Dashboard
直接运行
Sentinel源码中的sentinel-dashboard
1.1、关注配置项
# 访问端口(默认为:8080)server.port = 8081# 登录 Dashboard 的账号密码# If auth.enabled=false, Sentinel console disable loginauth.username=sentinelauth.password=sentinel
1.2、启动界面
二、Client
直接运行
Spring Cloud alibaba源码下的spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example
1.2、关注配置项
## 配置 Sentinel Dashboard URLspring.cloud.sentinel.transport.dashboard=localhost:8081
1.3、已有PAI
1.4、访问API后,访问Dashboard

