soul-admin
--> plugin management --> sentinel
set to enable.soul-admin
.<!-- soul sentinel plugin start--> <dependency> <groupId>org.dromara</groupId> <artifactId>soul-spring-boot-starter-plugin-sentinel</artifactId> <version>${last.version}</version> </dependency> <!-- soul sentinel plugin end-->
Selectors and rules, please refer to: selector
Sentinel Processing Details
flowRuleEnable (1 or 0)
: whether enable sentinel flow control function.
flowRuleControlBehavior
: effect(reject directly/ queue/ slow start up), it do not support flow control by invocation relation.
flowRuleGrade
: type of current limit threshold(QPS or Thread Count)。
degradeRuleEnable (1 or 0)
: whether enable circuit breaking function of sentinel
.
degradeRuleGrade
: circuit breaker strategy, support RT of seconds level/ Error Ratio of seconds level/ Error Count of minutes level strategy.
degradeRuleCount
: threshold.
degradeRuleTimeWindow
: time of degrading(unit: second).
fallbackUri
: degraded uri after circuit breaking.