Eric Zhao
d3bbe290c2
Refinement for heartbeat logic in sentinel-transport related module ( #312 )
- Code refinement for heartbeat component in transport related module
- Add remove support of `SentinelConfig`
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
d88ffcd697
Small improvements for `sentinel-transport`
- Modify the init order of command center init func to -1 (prioritized than before)
- Add CommandConstants for common use
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Carpenter Lee
84934b8679
Catch Throwable rather than Exception when sending heartbeat.
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
6 år sedan
Eric Zhao
2735954afd
Update cluster related command APIs and some enhancement and fix for cluster module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
a5819e092d
Add HTTP command for modifying global state and client config
- Add several command handlers
- Update cluster state manager
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
nick.tan
eb29cc929f
Add heartbeat client ip config to resolve ip problem in Docker env ( #261 )
6 år sedan
李豪
03922dbf6c
Enhancement/normalize metric field ( #170 )
normalize metric fields and methods:
- rename exception to exceptionQps;
- remove ed postfix of all fields and methods about metrics;
6 år sedan
Eric Zhao
9e012d2e20
Refactor version representation and add client version to heartbeat
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
007cd9d291
Some refactor of data source
- Add `close` method in WritableDataSource (to extend AutoCloseable in JDK 1.7 later)
- Separate the writable file data source from original class
- Add a sample to show how to register data sources via Sentinel init mechanism
- Separate a writable data source registry from original handler to make it clear
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
c70d6e92bc
Update command handler for modifying rules
- Refine code about writable datasource
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
b212e5f26e
Bump version to 0.2.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
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 år sedan
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 år sedan
Eric Zhao
934816b9ab
Bump version to 0.1.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
c92fea5d46
Welcome to the world, Sentinel
6 år sedan