Eric Zhao
ae214b5244
Bump version to 1.8.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
3 years ago
Eric Zhao
33570dad40
Polish SpiLoader and SentinelConfig
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
3 years ago
Eric Zhao
fefd8c4826
Use JDK 1.8 native LongAdder instead and remove legacy LongAdder
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
3 years ago
Eric Zhao
be2715d814
Update source/target JDK version to 1.8 and update documents
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
3 years ago
叶枫
a1eed7032f
Remove unused code ( #1991 )
Remove unused code in DefaultBlockExceptionHandler#handle
3 years ago
Peine
fe59485fa9
Improve RocketMQ integration example ( #1757 )
- The demo was unable to run and stop because of missing namesrv configuration, and now fixed.
3 years ago
小明同学
bf83f058c8
dependency: Upgrade snakeyaml to 1.26 in sentinel-cluster-server-envoy-rls module ( #2003 )
Signed-off-by: LIU Ming <hit_oak_tree@126.com>
3 years ago
小明同学
bc4c21e48d
dependency: Upgrade fastjson to 1.2.75 ( #2006 )
Signed-off-by: LIU Ming <hit_oak_tree@126.com>
3 years ago
samuelxw
1f4614c0d4
Improve MetricFetcher under concurrent conditions ( #1918 )
3 years ago
brothelul
b7546c8111
dashboard: authFilterExcludeUrls supports matching path pattern like /xx/** ( #1971 )
3 years ago
cdfive
62efb78d4e
Refactor SpiLoader and enhance SPI mechanism ( #1383 )
* Add `@Spi` annotation as the general annotation for SPI definition.
* Add isDefault in @Spi , add loadDefaultInstance and improve loadFirstInstanceOrDefault method, improve test cases
* Add SpiLoaderException class for thrown when something goes wrong while loading Provider
* Rearrange packages of base SPI mechanism
NOTE: this PR contains breaking changes regarding API.
3 years ago
brothelul
a343873c81
Support setting flush interval of the metric log via SentinelConfig property ( #1919 )
3 years ago
zhangkai253
63aeb49c45
dashboard: Fix issue of memory leak in real-time monitoring page ( #1905 )
* Fix issue of memory leak in metric.js
3 years ago
Yu Chenglong
38d97b59bd
doc: Fix typo in README.md ( #1926 )
3 years ago
brothelul
b2502326cd
doc: Fix incorrect comment in FlowRuleComparator ( #1915 )
4 years ago
brothelul
70b457bdc8
Fix potential NPE bug when updating ParamFlowRule before the resource has been requested once ( #1901 )
4 years ago
polarbear567
82826fa886
Support both HTTP and HTTPS protocol heart beating to dashboard ( #1896 )
Apply to both simple-http and netty-http modules.
4 years ago
zhangxn
6719ceef65
Add Motan RPC adapter implementation ( #1825 )
4 years ago
zcai2
6f7d4d09e2
test: Fix potential flaky test cases in TracerTest ( #1859 )
4 years ago
Lynx
7920243dec
dashboard: Add statIntervalMs field in DegradeRule dialog ( #1781 )
4 years ago
Brent
699532efe3
[feat #1839 ]: Make dashboard support deploying under subpath ( #1851 )
4 years ago
odidev
8c4f251922
CI: Polish dependencies for ARM64 and add ARM64 job to Travis CI ( #1765 )
1. Added ARM64 architecture in .travis.yml
2. Updated 'embedded-consul' version to 2.2.0, 'consul-api' version to 1.4.5 for ARM64 support.
3. Updated grpc.version for 'io.grpc:protoc-gen-grpc-java' to 1.30.2, for ARM64 support.
Signed-off-by: odidev <odidev@puresoftware.com>
4 years ago
Lynx
6f2f844726
Fix the problem that requests will never be blocked when slowRatioThreshold = 100% ( #1779 )
4 years ago
王振广
9936b4da60
Improve default block fallback logic in Dubbo 2.6.x adapter to avoid serialization problem ( #1794 )
- convert BlockException to a simple RuntimeException (with necessary message)
4 years ago
Jason Joo
d510eb6cd3
test: Fix overrunning test `FlowRuleManagerTest.testLoadAndGetRules` ( #1823 )
Signed-off-by: Jason Joo <hblzxsj@163.com>
4 years ago
Weihua
c00f946813
Fix potential concurrency issue when updating flow rules ( #1783 )
4 years ago
Luke
55a8294ab0
Polish document and name of parameter ( #1738 )
- doc: Fix a typo in description of booting options for sentinel-dashboard
- Fix mismatched name of parameter to its comment for VersionUtils.parseVersion()
4 years ago
nickChenyx
cc2d1a69a9
Optimize logging statements using placeholder ( #1736 )
* Optimize logging statements using placeholder to avoid unnecessary concatenation (issue #1735 )
4 years ago
HelloCoCooo
7192bcfb5b
Fix the dependency conflict issue
4 years ago
Luke
398e5aa874
doc: Fix content in README.md of sentinel-dashboard ( #1737 )
4 years ago
yunfeiyanggzq
10e6e8dcf6
Add unit tests for cluster concurrent limiting checker
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 years ago
yunfeiyanggzq
6314caab80
Add basic cluster concurrency limiting impl in token server module
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 years ago
yunfeiyanggzq
473cc84262
Add concurrency token request/release operation in TokenService
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 years ago
yunfeiyanggzq
75f138821d
Add attributes of cluster concurrency limiting in ClusterFlowConfig
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 years ago
cj
34fc435ce5
Make NettyTransportClient.getCurrentId() thread safe ( #1707 )
Fix issue #1705 .
- Use CAS to make it thread safe and limited in the declared range.
Signed-off-by: cj <power4j@outlook.com>
4 years ago
dani3lWong
b7b54034cc
Fix NPE bug when updating gateway flow rules before the route/API has been requested once ( #1729 )
4 years ago
M4Y
b50ce662bd
Solve the URI fetching bug in sentinel-zuul-adapter #1109 ( #1605 )
Use `getRequestURI` instead of `getServletPath` to get URI of current request(Both in prefix and regex matching).
4 years ago
M4Y
10aa39f822
doc: Fix typo in code comments ( #1721 )
4 years ago
mikawudi
d5eb5f473f
Pre-calculate intervalInSecond in LeapArray to reduce redundant calculation ( #1700 )
4 years ago
ZhiQiang Gu
b91305a903
Fix typo in CircuitBreakingIntegrationTest ( #1688 )
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 years ago
Eric Zhao
e58267012d
Bump version to 1.8.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
Eric Zhao
5e26ccc2c9
Update README.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
Eric Zhao
d17bf8c7cc
Bump version to 1.8.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
Jason Joo
656e3de2f9
Improve compatibility for dispatched servlet request in Spring Web adapter ( #1681 )
4 years ago
Eric Zhao
5905874dd8
Fix NPE bug and improve default fallback in Dubbo 2.7.x adapter
- Fix NPE bug in consumer filter (when non-biz error occurred)
- Improve default fallback in Dubbo 2.7.x adapter: convert the BlockException to a simple RuntimeException (with necessary message)
- Polish code and comments
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
Eric Zhao
125996d4d1
Add RuntimeException converting method in BlockException and polish logic for validation
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
liqiangz
113afab380
adapter: Add test cases for Spring WebFlux HandlerFunction ( #1678 )
4 years ago
cdfive
a1ce97677c
webmvc-adapter: improve to avoid ErrorEntryFreeException ( #1533 )
If entry already exists in request just skip creation.
4 years ago
Eric Zhao
bcbc19c772
Polish code and README.md of sentinel-datasource-eureka
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
M4Y
197b7db440
Support customized origin parser in Apache Dubbo 2.7.x adapter and unify config ( #1617 )
* Support customized origin parser in Apache Dubbo 2.7.x adapter
* Unify Dubbo callback registry (for fallback and origin parser) into DubboAdapterGlobalConfig
* Polish default fallback implementation (wrap exception with RpcResult rather than directly throw it out)
4 years ago