cdfive
22e8d85a8f
Add some unit test for StatisticNode, ClusterNode and DefaultNodeBuilder class ( #423 )
5 years ago
Andres Almiray
e893dd8c64
Make build faster by reducing fixed waiting time in tests ( #449 )
- Apply awaitility to core tests
- Cache maven local repo in Travis
5 years ago
Eric Zhao
9e1b5a900b
Update dependency version of fastjson and jacoco-maven-plugin
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
cd334406af
Code and javadoc refinement
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
luoxiangnan
f306a03090
HashMap init optimize when adding new ClusterNode to cluster node map ( #465 )
- reuse old map size to avoid rearrange and rehash the map
5 years ago
mjaow
2cf6e29e72
Fix zero-count divide overflow bug in RateLimiterController ( #461 )
5 years ago
mjaow
223ad252df
Remove duplicate comment in WarmUpController ( #464 )
5 years ago
mjaow
30907e4c9d
Fix error value type and rename variable in EntranceNode class ( #457 )
5 years ago
Eric Zhao
3109ac4bef
Remove slf4j dependency in sentinel-annotation-aspectj
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
ba4fdcc638
Fixes #453 : Support tracing exception count for specific entry or context in Tracer
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
8e72211db9
Add catch throwable logic in ClusterStateManager to detect fatal error when loading SPI
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
83f6de90b0
dashboard: update WebConfig and improve token server list page
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
giegie
6d61fd0538
Add logback dependency in sentinel-demo-nacos-datasource to avoid log ClassNotFoundException thrown by Nacos client ( #438 )
5 years ago
Carpenter Lee
88fd74cdf4
Rename dashboard package name from com.taobao to com.alibaba ( #435 )
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
5 years ago
huaifeng
70a3144cee
Upgrade Dubbo version in sentinel-demo-dubbo ( #436 )
5 years ago
wangjunwei87
d8a522590c
doc: fix typo in README of Sentinel Dubbo Demo ( #425 )
5 years ago
Eric Zhao
0969113710
Improve cluster embedded demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Carpenter Lee
c45d64c619
Bug fix: fix 420, fix negative waitTime in RateLimiterController and WarmUpRateLimiterController
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
5 years ago
cdfive
303ae86e27
dashboard: when click the first-level menu of sidebar, don't jump to the home page ( #422 )
5 years ago
kexianjun
9697c06739
Fix incorrect comment in NodeSelectorSlot javadoc ( #419 )
5 years ago
kangyl
47148acc1e
Remove redundant semicolon in MetricWriter ( #412 )
5 years ago
Eric Zhao
a5e95b7b24
Update cluster demo README and remove unused demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
a06a7cf86e
Update document and pom for sentinel-zuul-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
moon tiger
3a1eb56338
Add adapter support for Zuul 1.x ( #188 )
- implement `SentinelPreFilter`, `SentinelPostFilter` and `SentinelErrorFilter`
- support fallback
5 years ago
Eric Zhao
e42551a877
dashboard: frontend refinement of monitoring page and flow rule dialog description
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Arlmls
6dfe8e3098
dashboard: change text of p_qps and b_qps to be more intuitive in monitoring page ( #398 )
5 years ago
Eric Zhao
6c70c94e44
dashboard: structure rearrangement and polish related code
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Zhe Jiang
8970f5380c
dashboard: add healthCount/total information in sidebar of Sentinel dashboard ( #376 )
5 years ago
cdfive
5a691140b0
dashboard: make fallbackToLocalWhenFail be configurable in dashboard and fix edit rule issue when cancel ( #370 )
- Make fallbackToLocalWhenFail of cluster rules configurable in dashboard
- Fix edit rule when hit cancel button (object share problem solved by deep copy)
- Add metric table td header's title for friendly prompt info
5 years ago
逅弈
c06aa6e290
doc: add blog with Sentinel in action ( #392 )
5 years ago
Eric Zhao
d4d85dbc7c
Bump version to 1.4.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
225d81ed93
Bump version to 1.4.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
bf34f8b3be
Polish Sentinel dashboard frontend for cluster flow control enhancement
- Add cluster server list and assign page and client list page (for a specific app)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
8d413e1645
Polish Sentinel dashboard backend for cluster flow control enhancement
- Add cluster token server management controller and service for app
- Other enhancements and fixes
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
f82fcd696f
Add basic monitoring command API for cluster token server
- Also add top-K frequent parameter statistic support
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
1b68d0c9a0
Polish cluster token server handler related logic
- Enlarge retry timeout to 2s by default
- Improve remote address representation
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
e4d0f4c6ab
Improve namespace register logic for embedded token server mode
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
6a9d479216
Improvements for cluster token client retry and stop control logic
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
aa6c334703
Disable spell checking in Circle CI lint temporary (need more config later)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
c12f016b38
Polish cluster flow control demo to be more instructive
- Add a demo Spring Boot application integrated with cluster flow control to show the recommended way
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
40368bdcd6
Config and log enhancement for cluster token client
- Refactor token client common config and assign config
- Log enhancement when transport to token server failed
- Add `getState` method to `ClusterTokenClient` interface
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
77df7d23c9
Optimize Netty dependency of cluster modules
- use `netty-handler` instead to reduce size
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
25e96a8cd3
Improve cluster state manager
- Support stop cluster mode (`NOT-STARTED` mode)
- Fix bug when updating cluster state via command API (should modify via state property)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
99bdb9cf3c
Add total QPS limit control for specific namespace in cluster flow control ( #382 )
- Add `UnaryLeapArray` and `RequestLimiter` to enable simple QPS limit
- Improve cluster rule manager and server config manager to support request limiter
- Support `TOO_MANY_REQUEST` status in client side
- Also improve the automatic namespace register of embedded server mode
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
d2d1313e26
Remove markdown-lint-checker from Circle CI lint workflow (there are some bugs in the checker)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
8d84349607
Add returning modified status of `updateProperty` method in SentinelProperty
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
9165fe0d61
Support multiple tokens per request entry ( #380 )
- Refactor MetricBucket to support add multiple count
- Refactor Node and Metric related classes
- Refactor for StatisticSlot
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
832d6e425d
Update document to meet Markdown lint
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
leitao
feb44e74d4
do not remove the first node( #339 ) ( #355 )
Do not remove the first node
6 years ago
cdfive
44409182ae
Make the default statistic max RT value `TIME_DROP_VALVE` configurable ( #292 )
@see https://github.com/alibaba/Sentinel/issues/276
6 years ago