【精】alibaba-sentinel 管理控制台 啥都没有 ,一片空白解决。

1.首先看下配置对不对

cloud:
  nacos:
    discovery:
      server-addr: localhost:80
  sentinel:
    transport:
      dashboard: localhost:9000 #配置Sentinel dashboard地址
      #默认8719端口,如果被占用则自动从8719开始依次+1扫描,直至找到被占用的端口
      port: 8719
    eager: true

http://localhost:9000/ 就是你启动的时候的控制台 

具体的资源详情 看我的资源列表,搜索sentinel 里面有免费可用jar,包括如何启动。

2.引入jar 

所有的版本如下,根据自己的项目版本自行选择

https://mvnrepository.com/artifact/com.alibaba.cloud/spring-cloud-starter-alibaba-sentinel


    com.alibaba.cloud
    spring-cloud-starter-alibaba-sentinel
    2.1.1.RELEASE

然后启动就行了。

【精】alibaba-sentinel 管理控制台 啥都没有 ,一片空白解决。_第1张图片

 

你可能感兴趣的:(spring,cloud,sentinel)