Carpenter Lee
18d8b4c8a7
Add CPU usage and system load to metric ( #749 )
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
5 years ago
尹吉欢
274ecb51c3
Fix the bug that Chinese characters are malformed in response body of ZuulBlockFallbackProvider ( #737 )
5 years ago
Eric Zhao
6e4560845c
Update SENTINEL_VERSION constant to 1.6.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Carpenter Lee
a2683383d1
[Feature]Add an extension to Sentinel internal statistics ( #730 )
Add Sentinel MetricExtension, which provides extension to Sentinel internal statistics.
This extension provides callbacks when a request passes rule checking,
blocked by flow control, successfully end or exception occurred.
Accompanied by these events, response time and current thread number
will be recorded too.
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
5 years ago
haofangyuan
55838d9fb0
dashboard: Fix empty rule pushing bug of FlowRuleZookeeperPublisher sample ( #732 )
5 years ago
kexianjun
1d1878c1dd
dashboard: Add ZooKeeper flow rule dynamic publisher sample ( #714 )
5 years ago
Jason Joo
ecf4822ae1
Make SentinelConfig.loadProps() thread-safe using CopyOnWriteArraySet ( #706 )
5 years ago
Eric Zhao
346e9b274e
Bump version to 1.6.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
b1345f751f
Bump version to 1.6.0 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
7546bcc83b
Add basic demo for Sentinel Zuul adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
1baac7783d
Refactor and improve Sentinel Zuul Adapter
- Now the adapter is based-on sentinel-api-gateway-adapter-common and supports both proxyId and customized APIs
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
540428bae0
Support getting and updating gateway rules and API groups via transport command
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
kexianjun
4819675f84
dashboard: fix typo in SystemController ( #700 )
5 years ago
Eric Zhao
82578e1fdf
Refactor and improve fallback support for @SentinelResource annotation ( #693 )
- Refactor the semantics and logic for blockHandler and fallback
- Add `fallbackClass` support for fallback in global classes
- Add `defaultFallback` support
- Update test cases and demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
268c5502ed
Update transport module to carry appName in heartbeat message
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
bb4fde58b8
Add appType property field in SentinelConfig
- The `appType` can be retrieved from `csp.sentinel.app.type` field. It's useful to identify the service type (e.g. API gateway).
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
845b258b61
Add demo for Sentinel Spring Cloud Gateway adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
0f875d89f3
Add Sentinel Spring Cloud Gateway adapter module and implementation
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
faceb5f419
Add sentinel-api-gateway-adapter-common module for universal gateway rule and API definition management
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
5f713bd404
Update toString() method of ParamFlowRule
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
c316211faf
Add loadInstanceList support for SpiLoader
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
e9719d32ec
Refactor flow algorithm for parameter flow control and support more traffic shaping mode ( #677 )
* support burst count, statistic interval per rule and throttling mode.
* Add fields in ParamFlowRule to support burst count, throttle, statistic interval per rule.
* Deprecate HotParamLeapArray and use token bucket algorithm directly.
5 years ago
yikangfeng
08611fae0f
Add exceptionsToIgnore configuration support in @SentinelResource annotation ( #683 )
5 years ago
zhaixiaoxiang
cb9335126c
test: Fix unstable test cases in OccupiableBucketLeapArrayTest ( #687 )
5 years ago
Eric Zhao
af126b0c8d
dashboard: improve login page and update related document
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
cdfive
4acb907050
dashboard: Add a simple login page to support basic auth ( #659 )
- Add `AuthController` and `SimpleWebAuthServiceImpl`
- Update `AuthFilter`
- Add a simple login page and frontend interceptor to support auth check and session storage
5 years ago
Eric Zhao
7d344dcb95
Improve AbstractTimeBasedTest in sentinel-core
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
030ec23736
Make CommandCenterProvider and HeartBeatSenderProvider choose the instance with highest precedence
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
79211f055c
Add @SpiOrder annotation and update SPI loader for loading SPI with highest precedence
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
df27e3ef9d
Code refactor and refinement for FileInJarReadableDataSource
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
nick.ding
882a06007d
Add FileInJarReadableDataSource to support reading config file in jar ( #646 )
5 years ago
Jason Joo
359e65932c
dashboard: refinement and support HTTP POST request for update operations in SentinelApiClient ( #620 )
* Restructure: SentinelApiClient to support posting and refine it to make it simple
* Enhancement: SentinelVersion parsing logic
* Bug fix: comparison bug of SentinelVersion
5 years ago
jason
73f166e258
Make ClusterNodeTest.testGetOrCreateOriginNodeMultiThread stable
5 years ago
jason
16082a875c
Make WarmUpRateLimiterControllerTest stable
5 years ago
jason
aaeeea37e5
Feature: Make transport-netty-http/transport-simple-http support posting
5 years ago
Eric Zhao
b02ef82c62
Add constructor for EntryConfig in sentinel-reactor-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Paul Kenneth Kent
4cc25429d3
Add unit tests for com.alibaba.csp.sentinel.util ( #651 )
* Add unit test for com.alibaba.csp.sentinel.util.IdUtil
* Add unit tests for com.alibaba.csp.sentinel.util.StringUtil
5 years ago
Eric Zhao
29f22e370b
Fix the NPE bug when passing null args to SphU.entry() and paramIdx is negative ( #642 )
- Also rearrangement of some code
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
fc550343c7
Support passing parameters via SentinelReactorTransformer
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
afc77c2b3e
Fix the bug that entry in SentinelReactorSubscriber did not carry expected entry type
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
luoxiangnan
4b0960c942
dashboard: fix CountDownLatch wait timeout in MetricFetcher when machine is dead ( #645 )
5 years ago
Eric Zhao
5f20899e34
Update codecov conf file
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
shxz130
3eb4a37744
doc: add blogs in awesome-sentinel.md ( #626 )
add blog address
5 years ago
Eric Zhao
015c87cfe1
Update demo for parameter flow control
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
0c3bf96678
Bump version to 1.6.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
4751b588ea
Update README.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
48286e0ff8
Bump version to 1.5.1 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
f59b134b3c
Add demo module for integration with Apache Dubbo 2.7.x and above version
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
0389974d2d
Add adapter module for Apache Dubbo 2.7.x and above
- copied legacy code and adapts to new package
- also update document for legacy Dubbo adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
d5204bb6a4
Ensure Error caught in InitExecutor and do not exit when error occurs in LogBase ( #613 )
to avoid affecting normal logic of users
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago