-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System overload rule does not take effect for customized resource| 自定义埋点 配置了系统规则 入口qps阈值,但不起作用 #2459
Comments
#2455 解决相关问题。 |
@wucheng1997
|
如果是自定义埋点的话,需要指定为 EntryType.IN,代表 inbound traffic;系统规则从设计上仅对 inbound traffic 生效。 For customized resources, you may set EntryType to IN manually, indicating it's inbound traffic. |
@sczyh30 |
具体的 EntryType 都是由 SphU.entry 方式传入的(注解方式也类似),默认不传的话都为 OUT,若拿到的是 IN 则传入的就是 IN。Sentinel 自带的 Web 和 RPC provider 埋点都是自动标识为 inbound 的。 |
sentinel版本号1.8.1
springcloud版本号:Hoxton.RELEASE
springboot版本号:2.3.1.RELEASE
springCloudAlibaba版本号: 2.2.6.RELEASE
配置“系统规则”,配置阈值 入口qps=0,但没起作用 ,qps依然可以达到20


Issue Description
Type: bug report or feature request
Describe what happened (or what feature you want)
Describe what you expected to happen
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
Anything else we need to know?
The text was updated successfully, but these errors were encountered: