Commit Graph

28 Commits

Author SHA1 Message Date
DaneBrown 3832f2bc5a
Fix the bug that stopping CommandCenter may throw NPE when it was not initialized (#2630) 2022-04-02 09:48:26 +08:00
wutingjia 9a612508ff Make all backend thread pools daemon (#2181)
* feat:make command center thread daemon
* feat:make all NamedThreadFactory thread daemon
2021-06-04 13:33:46 +08:00
polarbear567 82826fa886
Support both HTTP and HTTPS protocol heart beating to dashboard (#1896)
Apply to both simple-http and netty-http modules.
2020-12-16 09:34:40 +08:00
nickChenyx cc2d1a69a9
Optimize logging statements using placeholder (#1736)
* Optimize logging statements using placeholder to avoid unnecessary concatenation (issue #1735)
2020-09-17 20:42:01 +08:00
HupJ 4f31b2c61b
Add explicit null checking for charset in SimpleHttpClient#encodeRequestParams (#1589) 2020-07-07 09:43:46 +08:00
Eric Zhao e4769293dc
Move CommandCenterLog to sentinel-transport-common and polish related code (#1341)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-03-16 22:30:29 +08:00
Eric Zhao 22df09b427 Polish code of transport command centers and heartbeat senders
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-03-14 20:13:21 +08:00
Jason Joo 05e3caf618
Fix the parsing issue in large post request for sentinel-transport-simple-http (#1255) 2020-03-13 11:15:45 +08:00
Lin.Liang 72bfe870cb
Improve the logs when the heartbeat response indicates failure (#1303) 2020-03-04 23:38:53 +08:00
Jason Joo cd1d9be0ea
refactor: Migrate the console server's specifying logic into sentinel-transport-common (#926) 2020-02-24 22:45:59 +08:00
Eric Zhao f6badb0622 Improve logs in HttpEventTask of sentinel-transport-simple-http module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-23 19:11:28 +08:00
zhenxianyimeng 50f3080add Fix content-type parsing bug in transport module and support UTF-8 encoding in SentinelApiClient (#1207)
* Fix content-type parsing bug in `sentinel-transport-simple-http` module
* Change the charset of UrlEncodedFormEntity to UTF-8 in SentinelApiClient of the dashboard to support non-ASCII characters
2019-12-19 20:50:20 +08:00
Eric Zhao 9d02e84674 Improve logic for configuring the heartbeat API path in TransportConfig
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-10 10:54:41 +08:00
nick.tan 9beb655b42 Support configuration for the heartbeat API path in transport module (#515) 2019-12-10 10:25:00 +08:00
cdfive e810ab849e Fix multiple slash command name issue in sentinel-transport-netty-http module (#817) 2019-06-12 09:36:25 +08:00
Eric Zhao 268c5502ed Update transport module to carry appName in heartbeat message
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-23 21:06:31 +08:00
jason aaeeea37e5 Feature: Make transport-netty-http/transport-simple-http support posting 2019-04-12 10:42:08 +08:00
Bo Zhang a3369378ad Apply Alibaba p3c pmd plugin/rules and fix/ignore all violations of priority 1 (#574) 2019-03-15 09:24:39 +08:00
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>
2018-12-24 18:03:31 +08:00
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>
2018-12-18 21:13:07 +08:00
nick.tan eb29cc929f Add heartbeat client ip config to resolve ip problem in Docker env (#261) 2018-12-03 09:48:15 +08:00
Carpenter Lee 223b4e47ee Add verbose log when SimpleHttpCommandCenter chooses port fail 2018-11-29 16:02:27 +08:00
Eric Zhao 7626bf4a49 Code enhancement for #161
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-16 17:06:36 +08:00
jasonjoo2010 0916a9bfa2 Enhancements in transport-netty-http and properties related (#161)
* sentinel-transport-netty-http will also retry when port specified has been used
* LogBase support variable arguments
* Remove duplicated JVM properties overriding in SentinelConfig
* Add VersionUtil to get version from jar
2018-10-16 11:23:53 +08:00
Eric Zhao 9e012d2e20 Refactor version representation and add client version to heartbeat
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-25 16:52:28 +08:00
Eric Zhao 35c5bad3e4 Fixes #38: Enhance error handling when parsing bad dashboard addresses
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-08-06 10:40:50 +08:00
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>
2018-08-01 22:07:08 +08:00
Eric Zhao c92fea5d46 Welcome to the world, Sentinel 2018-07-27 16:34:30 +08:00