0
点赞
收藏
分享

微信扫一扫

Fisco Bcos 2.11.0配置console控制台2.10.0及部署调用智能合约

一、下载jar包

下载地址:Releases · alibaba/Sentinel · GitHub

二、运行

将jar包放在任意非中文、不包含特殊字符的目录下,启动

启动命令:运行cmd 使用一下命令

java -Dserver.port=8090 -Dcsp.sentinel.dashboard.server=localhost:8090 -Dproject.name=sentinel-dashboard -jar sentinel-dashboard.jar

三、访问

访问http://localhost:8090页面,就可以看到sentinel的控制台了

账号密码都为sentinel

四、微服务整合sentinel

        1.引入依赖

<!--sentinel-->
<dependency>
    <groupId>com.alibaba.cloud</groupId> 
    <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
</dependency>

        2配置控制台

spring:
  cloud: 
    sentinel:
      transport:
        dashboard: localhost:8090

重新访问即可看到

举报

相关推荐

0 条评论