Skip to content
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

关于熔断降级规则设置后,不按规则执行 #397

Closed
chenfei7357 opened this issue Jan 8, 2019 · 2 comments
Closed

关于熔断降级规则设置后,不按规则执行 #397

chenfei7357 opened this issue Jan 8, 2019 · 2 comments
Labels
kind/question Category issues related to questions or problems

Comments

@chenfei7357
Copy link

chenfei7357 commented Jan 8, 2019

应用内埋点和动态规则:
image
请求的接口:
image

控制台设置规则:
image
结果:
image

本地模拟的代码:
image
image

异常数 (DEGRADE_GRADE_EXCEPTION_COUNT):当资源近 1 分钟的异常数目超过阈值之后会进行熔断。
正常我设置这个规则,不是应该抛出一个异常,接下来全部降级吗?好像结果并不是这个。

@sczyh30 sczyh30 added the kind/question Category issues related to questions or problems label Jan 8, 2019
@summerjava
Copy link

你时间窗口设置的是10S呢,不是一分钟。时间窗口改成60了再试试。

@sczyh30
Copy link
Member

sczyh30 commented Jan 28, 2019

Please check your rules and the ~/logs/csp/xxx-metrics.log log.

@sczyh30 sczyh30 closed this as completed Jan 28, 2019
CST11021 pushed a commit to CST11021/Sentinel that referenced this issue Nov 3, 2021
…r transactional message (alibaba#397)

* Use separate threadpool and add monitor tools for transaction

* Modify log level
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Category issues related to questions or problems
Projects
None yet
Development

No branches or pull requests

3 participants