alibaba/Sentinel

Support param flow rules for web APIs in Spring Web controller

Open

#1734 aperta il 15 set 2020

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Java (8150 fork)batch import
area/integrationsgood first issuekind/enhancement

Metriche repository

Star
 (23.109 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Issue Description

Type: bug report

Describe what happened (or what feature you want)

Describe what you expected to happen

在配置文件已配置全路径资源的情况下 image

image 添加2个热点限流规则。 出现的情况 :1、以url作为资源名,规则不生效 (其他规则以url作为资源名可以生效,如流控、降级等)
2、以@SentinelResource注解定义的name作为资源名,规则生效

image

这种方式限制了动态添加热点规则,需要在项目中硬编码。

希望可以得到解决方法。谢谢~

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

spring-cloud-starter-alibaba-sentinel 2.2.1

Anything else we need to know?

Guida contributor