sentinel流控规则链路
时间: 2023-10-18 21:25:55 浏览: 92
Sentinel的流控规则链路是指针对上级接口进行限流的一种模式。当从某个接口过来的资源达到限流条件时,开启限流。与针对来源配置项相比,链路流控模式的粒度更细,它具体针对的是上级接口而不是上级微服务。要关闭Sentinel默认的Controller方法做context整合以使链路流控生效,可以在application.yml文件中添加配置:spring.cloud.sentinel.transport.dashboard=localhost:8080和spring.cloud.sentinel.web-context-unify=false。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Sentinel限流规则-流控模式之链路模式](https://blog.csdn.net/kuyongganggang/article/details/123653538)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Sentinel流控规则-链路](https://blog.csdn.net/qq_41683000/article/details/125160047)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文