1.一、直接下載jar包:git
http://edas-public.oss-cn-hangzhou.aliyuncs.com/install_package/demo/sentinel-dashboard.jar
1.二、下載源碼編譯運行github
https://github.com/alibaba/Sentinel
spring.application.name=sentinel-example #應用名稱,在限流的控制檯中顯示 server.port=18083 spring.cloud.sentinel.transport.dashboard=localhost:8080 #限流控制檯的地址和端口 spring.cloud.sentinel.eager=true
訪問http://localhost:8080,查看效果spring