-
Notifications
You must be signed in to change notification settings - Fork 8k
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
More information (e.g. triggered rules, real-time QPS) is needed to carry in BlockException #424
Comments
After capturing the exception of the hotspot parameter current limit or other abnormality of the current limiting form, I hope to enhance the function to obtain some information.Issue DescriptionType: bug report or feature request Describe what happened (or what feature you want)After capturing the exception of the hotspot parameter current limit or other abnormality of the current limiting form, I hope to obtain some information. For example, after the hotspot parameter is limited, after the ParamFlowException is captured (other exceptions are also required), I hope to obtain it. Method information to the current current limit, the RequestMapping interface information on the method, the current rule information that triggers the current limit, the current QPS value, the configured QPS value, the resource name, etc., so that it is convenient to get the information to send an alarm at runtime. . Describe what you expected to happenHow to reproduce it (as minimally and precisely as possible)
Tell us your environmentAnything else we need to know? |
Hi, thanks for your suggestion. We can put the triggered rule and maybe current metrics to the subclasses of |
Sentinel 1.4.2 has been released and now we can get the triggered rule via the |
Issue Description
Type: feature request
Describe what happened (or what feature you want)
在捕获到热点参数限流的异常 或者 其他限流形式的异常后 希望能够获取到一些信息,例如,当发生热点参数限流后,捕获到这个 ParamFlowException 后(其他异常也同样需要),希望能获取到 当前发生限流的方法信息,方法上打的RequestMapping 接口信息,当前触发限流的规则信息,当前的QPS值,配置的QPS值,资源名 等信息,方便在运行时拿到这些信息发送报警。
More information (e.g. triggered rules, real-time QPS) is needed to carry in
BlockException
so that we can leverage relevant info to send alarm messages.Describe what you expected to happen
希望能获取到 当前发生限流的方法信息,方法上打的RequestMapping 接口信息,当前触发限流的规则信息,当前的QPS值,配置的QPS值,资源名 等信息,方便在运行时拿到这些信息发送报警。
强烈需要在 1.4.2 版本就要支持。
The text was updated successfully, but these errors were encountered: