ZhiQiang Gu
bd29e046e1
Add unit test for logging/TokenBucket ( #1504 )
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
преди 4 години
于玉桔
6b86721b36
Support setting class-level defaultFallback for annotation extension ( #1493 )
преди 4 години
zechao zheng
0d7da77d03
Add support for extracting param from complex object ( #1491 )
* This could enable specified parameter flow control for customized objects.
преди 4 години
ZhiQiang Gu
2e64d33085
test: Add test cases for Tuple2 ( #1501 )
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
преди 4 години
pleasecheckhere2016
5523fd0d42
Add exceptionPredicate in Tracer for customized exception filtering logic ( #1496 )
преди 4 години
cdfive
46076b34aa
dashboard: Fix historical version compatibility problem for auth check via localStorage ( #1473 )
преди 4 години
于玉桔
2b68a6c062
Add OkHttp integration ( #1456 )
преди 4 години
Eric Zhao
99d4355318
Polish code comments of the fundamental Sph/SphO/SphU class
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
wavesZh
096a9ebf7d
Improve deprecated ParameterMetric purge mechanism ( #1372 )
* Clear useless data in ParameterMetric for all removed rules
преди 4 години
于玉桔
d84d681dd8
dashboard: Fix the bug that cookie may have conflict with web applications under the same domain ( #1443 )
преди 4 години
zhenxianyimeng
ba391097ca
dashboard: Remove duplicate code in MetricEntity ( #1441 )
преди 4 години
Eric Zhao
516e36fd83
Polish Tracer with entry.setError(ex) mechanism
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
Eric Zhao
7f3165740a
Refactor the mechanism of recording error in Entry and StatisticSlot
* Also polish related complete callbacks
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
Eric Zhao
7f0771df5c
Update resolving logic of project name and polish SentinelConfig ( #1437 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
Lin.Liang
b716bed370
Support setting project.name via the properties file and deprecate legacy config path ( #1412 )
преди 4 години
johnli
5e9cfb0deb
fix: Tracer does not trace exception to DefaultNode ( #1068 )
преди 4 години
haifeng
04a1d065dd
Fix the bug of misplaced locks in ContextUtil and ClusterNode ( #1429 )
- which may lead to IllegalMonitorStateException in unlock() when unchecked error occurs during lock()
преди 4 години
seasidesky
cfea7ae338
Add JAX-RS adapter ( #1396 )
преди 4 години
Eric Zhao
a0196b6b00
Bump version to 1.8.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
Zhiguo.Chen
7c361aab13
Fix the bug of extracting request cookie in Spring Cloud Gateway adapter ( #1400 )
преди 4 години
Eric Zhao
6a7ec708bc
Bump version to 1.7.2
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
Eric Zhao
fd4e69bdd6
Update fastjson to 1.2.68
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
Eric Zhao
d4a5b45465
doc: Update README.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
于玉桔
76c37eae37
dashboard: Hide advanced options in flow rule dialog when cluster mode is enabled ( #1367 )
преди 4 години
Eric Zhao
d8f6480e64
doc: Polish README.md of sentinel-cluster-server-envoy-rls module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
cdfive
e1435974c6
Set default log level of JDK logging to INFO and polish code of SpiLoader ( #1365 )
* Improve log info in SpiLoader, improve comment and test case
* Use error level in catch block, init ArrayList with capacity and improve add item to list
преди 4 години
Jason Joo
49e60a3e51
Force modifyRule command handler to fail if an incompatible old fastjson found ( #1377 )
* Note that this is only a temporary solution.
преди 4 години
cdfive
be4d058bf8
refactor: Make the ProcessorSlot itself as SPI and deprecate legacy slot chain builder ( #411 )
* Make slots loaded by SPI, mark all slots with @SpiOrder from -10000 to -1000, improve comment
* Reserve gateway and param slot chain builder (just extends DefaultSlotChainBuilder) and mark them as @Deprecated
преди 4 години
Jason Joo
5885add4c5
Complete the unit tests for sentinel-logging-slf4j module ( #1358 )
преди 4 години
于玉桔
670b2cb764
Improve standard output message in LogBase ( #1357 )
преди 4 години
cdfive
43b5e65ab3
Fix the bug that context was not released when blocked in Spring Web adapter ( #1353 )
преди 4 години
Jason Joo
b715ceacf0
Fix CI failure in JDK 11 environment ( #1360 )
* Supplement missing javax.annotation-api to sentinel-cluster-server-envoy-rls and sentinel-demo-zuul2-gateway
* Upgrade mockito-core to 2.28.2 (up to date)
преди 4 години
Jason Joo
df683b8716
Regroup packages related to logging into a separate module and polish document ( #1355 )
преди 4 години
tao.zhang
1eee2c80b4
Introduce logging extension: slf4j ( #1344 )
преди 4 години
WongTheo
8f0cb2d24a
dashboard: Fix NoNodeException problem of FlowRuleZookeeperProvider example ( #1352 )
преди 4 години
Eric Zhao
87f95adc2e
Fix timezone problem of sentinel-block.log
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
Eric Zhao
eed77cafc2
Polish placeholders in logging content to slf4j convention ( #1342 )
* Polish placeholders in logging content to "{}"
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
Eric Zhao
e4769293dc
Move CommandCenterLog to sentinel-transport-common and polish related code ( #1341 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
Eric Zhao
624d19d4ce
Polish logging SPI related code and add general JUL adapter for Logger SPI ( #1338 )
* Move the legacy JUL methods from LogBase to BaseJulLogger.
* Add a JavaLoggingAdapter as the general JUL adapter for the Logger SPI, which makes it convenient to use (as the default logger).
* Add LoggerSpiProvider to resolve Logger SPI.
* Polish the logback demo.
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
Eric Zhao
22df09b427
Polish code of transport command centers and heartbeat senders
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
Eric Zhao
0536fb6846
Polish code and demo of Sentinel Zuul 2.x adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години
tao.zhang
5b9865db1c
Add gateway adapter for Zuul 2.x ( #1138 )
- also add demo for Zuul 2.x adapter
преди 4 години
Jason Joo
05e3caf618
Fix the parsing issue in large post request for sentinel-transport-simple-http ( #1255 )
преди 4 години
cdfive
2c2f60cf58
Add "web-context-unify" config in Spring WebMVC adapter to support "chain" relation flow strategy ( #1328 )
преди 4 години
Olof
51331879af
doc: Update JDK requirement of the dashboard in README.md ( #1316 )
* Following discussions in https://github.com/alibaba/Sentinel/issues/1315
преди 4 години
jy2156121
09970cd380
dashboard: Support setting value pattern for client IP and host in gateway flow rule dialog ( #1325 )
преди 4 години
Lin.Liang
80d5c8b484
Enhance reliability and performance of InMemoryMetricsRepository ( #1319 )
* Fix InMemoryMetricsRepository can't keep the last five minutes metrics data problem and Improve read-write performance
* Use TimeUtil.currentTimeMillis() replace System.currentTimeMillis() for better performance
преди 4 години
tianhao
6e0d116751
calculate process cpu usage to support application running in container environment
преди 5 години
Lin.Liang
72bfe870cb
Improve the logs when the heartbeat response indicates failure ( #1303 )
преди 4 години
Eric Zhao
d07d17b4ca
Polish code and document of sentinel-sofa-rpc-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
преди 4 години