## jeecg-cloud-sentinel ![](https://img.kancloud.cn/70/d8/70d8fb095a6de35b9ae668356223ba02_560x671.png) ### 启动sentinel项目 com.alibaba.csp.sentinel.dashboard.JeecgSentinelDashboardApplication ![](https://img.kancloud.cn/c6/fd/c6fd364dc0292c089791d87f50cf81f1_479x185.png) ### 访问地址 [http://localhost:8087](http://localhost:8087) 账号密码:sentinel/sentinel ![](https://img.kancloud.cn/a7/9b/a79be1a5f8ec3aca0dbc412b000c294b_1146x669.png) 第一次访问,内容是空。 ![](https://img.kancloud.cn/20/ff/20ff90d10cb1b357de441651393bebc8_1920x848.png) 访问gateway任意接口,就会出现应用 ![](https://img.kancloud.cn/09/69/0969aeca22df698ee75937e701d189c0_2536x1123.png) ### 网关中(gateway)配置sentinel 添加sentinel依赖 ![](https://img.kancloud.cn/cb/1f/cb1fff3326fdddf1821a0423845dd6f0_1292x657.png) 添加sentinel配置 ![](https://img.kancloud.cn/e4/89/e4893c1281f30555bb1009eaab9245e4_1122x598.png) ### 配置限流 按服务配置限流 点击请求链路,选择需要限流的服务模块,点击流控操作如下图 ![](https://img.kancloud.cn/45/26/4526b84bf95345d319fc41c8ea3633cf_2460x615.png) ![](https://img.kancloud.cn/f7/2b/f72b33ef95b8081fbec1a71f5ce80026_1161x745.png) 按接口配置限流 点击API管理,新增api分组,如下图 ![](https://img.kancloud.cn/df/cc/dfccdd52bd6ff7e068667a05f43cc05c_2515x746.png) ![](https://img.kancloud.cn/e9/06/e906e0f88178de98b949c7678b1efbc1_2526x532.png) ![](https://img.kancloud.cn/2e/11/2e11b29e06762e962457c06f2a4ce050_2507x812.png) * 官方文档:https://sentinelguard.io/zh-cn/docs/dashboard.html