alibaba / sentinel-golang

Sentinel Go enables reliability and resiliency for Go microservices
https://sentinelguard.io/
Apache License 2.0
2.77k stars 437 forks source link

Sentinel rule add block type hotspot set first monitor node #507

Closed cafra closed 1 year ago

cafra commented 1 year ago

Describe what this PR does / why we need it

sentinel rule interface add blockType. Because this is an attribute of the rule, it is convenient for the state slot to obtain the rule type of the current limit through the rule.

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

by UT

Special notes for reviews