Eric Zhao
f3eb285445
Update demo of various data source to adapt to new changes
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
c70d6e92bc
Update command handler for modifying rules
- Refine code about writable datasource
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
0060e8042a
Refactor Sentinel data source hierarchy
- Spilt DataSource into two types: ReadableDataSource and WritableDataSource
- The AbstractDataSource now is read-only
- Refactor the file data source for writable implementation
- Rename: ConfigParser -> Converter (represents both encoder `T -> S` and decoder `S -> T`)
- Some other refinement
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Carpenter Lee
6799da270d
Fixed #109 : fix miss-usage of ClusterNode.successQps() in DegradeRule.passCheck() method
6 years ago
Eric Zhao
f70ab5ab05
Fixes #117 : Update document of Sentinel Dashboard
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
9164bb19fe
Fix the bug when resolving original method to get annotation ( #111 )
- The method from the signature will return the method of interface, so we need to resolve declared method in target class
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
refactormachine
b61be268a3
Refactor test cases for Sentinel gRPC Adapter ( #101 )
- Added a GrpcTestServer to abstract common server logic
- Refactor with new added `GrpcTestServer`
6 years ago
Shalti
2772f189ab
Fixed CR comments
6 years ago
Shalti
dc0a7086b5
Renamed to MetricsReader
6 years ago
Shalti
ac8698ed9f
Refactored some classes
6 years ago
Carpenter Lee
d716f0f14a
Fixes #99, fix miss comparison of FlowRule.maxQueueingTimeMs
6 years ago
子矜
cedd420336
jialianglinjl
6 years ago
kimmking
f8a72c4931
update README to add coverage icon
update README to add coverage icon
6 years ago
Eric Zhao
f6484514ff
Add benchmark for Sentinel
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
23f65b9fee
Update dependencies and add log
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
94aea568f6
Miscellaneous update
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
49097fa45c
Resolves #61 : Enhance exception trace in Sentinel Dubbo Adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
820160d542
Fix update logic of minRt in bucket
- Fix incorrect usage. It's not thread-safe when comparing and updating `minRt`, but it's okay since the actual minimum RT often matches free load.
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
6392cb0336
Modify loading mechanism of authority rules: only pick first
- Comment/javadoc refinement
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
4226868dcf
Fix typo in rule constants and add authority rule demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
b76ad9b480
Fix url for Maven Central Badge
Related to #57
6 years ago
Eric Zhao
b42a930a83
Update documents
- Add Maven Central badge
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
227776a301
Fixes #52 : Error file separator regex in Windows environment
- This bug can cause init failure of `AppNameUtil`
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Carpenter Lee
430ef8a99a
Fixes #51, use js type–converting comparisons.
6 years ago
Eric Zhao
b212e5f26e
Bump version to 0.2.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
6bef9a8ee1
Bump version to 0.1.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
a65d16083d
Optimize for statistic data structures ( #47 )
* Optimize for leap array
- Fix a bug: old position is not cleaned when inserting into a new (empty) position
- Reuse buckets for optimization
- The strategy is now changed: deprecated buckets will not be reset until newer time triggered. LeapArray is responsible for filtering the deprecated buckets (e.g. in `list` or `values`)
- Update test cases
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Jason Song
b51c3ad13e
Add Apollo data source extension ( #46 )
6 years ago
Eric Zhao
73b0979542
Remove sentinel-spring-boot-starter module
- This has been replaced with Spring Cloud Alibaba
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
008b82078d
Fix pom.xml error of sentinel-transport
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Carpenter Lee
40514587ac
Set SystemRule's threshold to zero is allowed.
6 years ago
Eric Zhao
b1cf30fc24
Add support for shared block handler
- Update javadoc and document
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
d0970d5ef7
Add demo for Sentinel Annotation AspectJ with Spring AOP
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
348b1c819b
Add Sentinel annotation definition and aspectj extension
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
b37c237a61
Add default fallback support for Dubbo
- Update test cases and demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
0438d530d4
Update documents
- Update document for Dubbo demo
- Update document for extensions
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
35c5bad3e4
Fixes #38 : Enhance error handling when parsing bad dashboard addresses
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
fd936a4567
Update ZooKeeper data source integration
- Code refinement
- Add test cases
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
guonanjun
3395412c57
Add ZooKeeper data source for Sentinel ( #33 )
6 years ago
yizhenqiang
8075232cdd
Add volatile to methodNameMap and chainMap ( #34 )
Modify MethodUtil#methodNameMap and CtSph#chainMap: add `volatile` to keep in line with others
6 years ago
Eric Zhao
b2a3ef26a7
Fixes test cases for degrade regarding the new strategy
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
1c9f1606ca
Fixes #20 : Fix runtime port and heartbeat sending logic
- Sentinel should not send heartbeat to dashboard until the runtime port has been settled down
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Carpenter Lee
f144a2713f
Refine Degrade rule checking.
6 years ago
Eric Zhao
d96172cca6
Update README.md
6 years ago
Eric Zhao
b113219c27
Fixes #14 : Apply Alibaba Java Coding Guidelines
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Carpenter Lee
bc620d616f
Refine AppNameUtil
6 years ago
Eric Zhao
f1b52a66b2
Fixes #13 : Fix search filter in Sentinel Dashboard sidebar
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
2f8a818d20
Add log when initializing Sentinel Dubbo filters
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
47d9070a4a
Fixes #9 : Use named thread factory for identification ( #10 )
* Use named thread factory with all thread pools for identification
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
cd9ae9a611
Add sample for Sentinel Nacos DataSource
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago