下載控制台程序
https://github.com/alibaba/Sentinel/releases
在本地項目的pom中引入jar:
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-alibaba-sentinel</artifactId> <version>0.2.0.RELEASE</version> </dependency>
然后在yml文件中,增加如下配置:

然后啟動項目,
然后瀏覽器訪問
http://localhost:8080
用戶名密碼都是 sentinel
刷新頁面,就能看到左邊出現項目名,及菜單了。

不停用postman訪問項目里的任意Controller(多訪問幾次),點實時監控,就能看到監控信息了。
