哨兵安装
下载地址:
https://github.com/alibaba/Sentinel/releases
使用说明
https://github.com/alibaba/Sentinel/tree/master/sentinel-dashboard
控制台启动脚本
java -Dserver.port=8880 -Dcsp.sentinel.dashboard.server=localhost:8880 -Dproject.name=sentinel-dashboard -jar target/sentinel-dashboard.jar
登陆
http://47.93.136.219:8880/#/login
sentinel:sentinel
springboot集成
application.properties 添加
spring.cloud.sentinel.transport.dashboard=10.30.93.84:8880 spring.cloud.sentinel.eager=true
pom.xml 添加
<!-- Sentine --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId> <version>0.2.1.RELEASE</version> </dependency>
本文档提供了阿里巴巴 Sentinel 的下载地址及使用说明,详细介绍了如何启动 Sentinel 控制台,并给出了登录信息。同时,展示了如何将 Sentinel 集成到 SpringBoot 项目中,包括在 `application.properties` 中配置 Dashboard 地址和添加相关依赖。
1万+

被折叠的 条评论
为什么被折叠?



