Issue Description
Add support for extracting param from complex object, when grade is RuleConstant.FLOW_GRADE_THREAD.
Describe what happened (or what feature you want)
When use ParamFlowRule, set grade to RuleConstant.FLOW_GRADE_THREAD, and use ParamFlowArgument as argument, it doesn't work.
Describe what you expected to happen
these two method should take ParamFlowArgument into account:
- com.alibaba.csp.sentinel.slots.block.flow.param.ParameterMetric#decreaseThreadCount
- com.alibaba.csp.sentinel.slots.block.flow.param.ParameterMetric#addThreadCount
How to reproduce it (as minimally and precisely as possible)
- set ParamFlowRule.grade = RuleConstant.FLOW_GRADE_THREAD;
- use ParamFlowArgument as SphU.entry/exit's args;
Tell us your environment
JDK8, Sentinel1.8.x
暂无答案!
目前还没有任何答案,快来回答吧!