Commit Graph

805 Commits

Author SHA1 Message Date
Albumen Kevin d16f0ca310
Sync BitList for all the operations (#14057)
* Sync BitList for all the operations

* Fix style
2024-05-06 14:33:10 +08:00
jean pierre Lerbscher 00812ce41c
Fix Sonar issue s2293 The diamond operator ('<>') should be used (#14005) 2024-03-29 11:40:06 +08:00
aofall 36e0cf5490
fix(#13305): RpcContext local address info get null on custom filter (#13751)
* fix(#13305): RpcContext local address info get null on custom filter

* fix ci build failed

* fix ci build failed
2024-03-11 14:00:16 +08:00
Albumen Kevin 17b75a7895
Refresh valid invokers after connectivity check (#13773) 2024-02-29 11:26:11 +08:00
J.Son 6dbac54b39
'blacklist' renamed to 'blocklist' (#13800) 2024-02-26 17:11:10 +08:00
Albumen Kevin caed64b2a6
Fix #13750, ConsistentHashLoadBalance not base on arguments (#13753) 2024-02-19 10:00:19 +08:00
namelessssssssssss 1bdbfd8647
Fix MergeableClusterInvoker log issue (#13593)
* Fix MergeableClusterInvoker log issue

* Code style fix

* Update log level

* Update log level

* Update log level

* Add exception stacktrace
2024-01-02 18:58:43 +08:00
huazhongming 730695a7a2
[3.2]Use spotless to format the code (#13320)
* Use spotless to format the code

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

* Support develop with JDK 21

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

---------

Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2023-11-07 15:40:13 +08:00
Albumen Kevin c22a40b87d
Fix unit tests failed on JDK8 (#13296) 2023-11-02 09:52:31 +08:00
andotorg 4782142980
Fix #13135 for testing (#13139)
* fix https://github.com/apache/dubbo/issues/13135

* fix Using the '.*' form of import should be avoided build error

* nashorn-core jar scope is test
2023-10-13 17:43:30 +08:00
songxiaosheng 575c3392ec
Service metrics (#13033)
*  support service metric level

*  support service metric level

*  support service metric level

*  support service metric level

*  add ServiceMetricsTest

*  add ServiceMetricsTest

*  add ServiceMetricsTest

*  servicelevel config init opt

*  servicelevel config init opt

*  servicelevel config init opt

*  servicelevel config init opt

*  servicelevel config init opt

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-09-19 10:22:58 +08:00
Albumen Kevin ade91c9b69
Fix unit test cases (#13076) 2023-09-19 10:19:23 +08:00
Albumen Kevin 8d9817f8af
Publish directory refresh event after connectivity check (#12988) 2023-08-31 19:30:36 +08:00
TomlongTK c12a57eb3c
enhance application discovery toString (#12953) 2023-08-29 16:14:52 +08:00
Albumen Kevin f5cc40c56a
Fix static directory metrics label (#12951)
* Fix static directory metrics label

* Fix import
2023-08-23 15:39:52 +08:00
wxbty 0add70e3f5
Support multi registries metrics key (#12582)
* init

* fix

* fix

* fix

* fix

* add licence

* fix testcase

* fix testcase

* lowcase

* remove unuse

* opt notify&directory

* fix post&finish

* revert name

* move registerMetadataAndInstance

* move metrics from

* remove some unuse

* remove unuse

* fix style

* fix style

* remove unuse

* remove unuse

* fix default&& move post

* add multi registry lables for subscribe

* fix

* fix url

* fix url

* Fix uts

* add registry key for directory

* Compatible with empty registry keys

* remove unus

* Support registry type

* Fix attachment

* Code enhancement

* Fix registry key

* Fix service discovery notify

* fix

---------

Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-07-31 13:44:46 +08:00
PiteXChen e93c5cf777
RequestEvent optimization (#12655)
* RequestEvent optimization

* RequestEvent optimization

* RequestEvent optimization(#12655)

* RequestEvent optimization(#12655)

* fix conflict

* code optimize

* code optimize

* optimize

---------

Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-07-30 09:44:52 +08:00
Albumen Kevin ff60c870ed
Skip warn if provider app and consumer app are the same (#12729) 2023-07-15 10:15:38 +08:00
Albumen Kevin d2eb2ba3d7
Performance opt (#12680) 2023-07-11 14:42:33 +08:00
Albumen Kevin 7264850fd4
Fix service context early restore (#12643) 2023-07-03 10:26:08 +08:00
why技术 33f688e404
Update AdaptiveLoadBalance.java (#12636)
fix getTimeout bug
2023-07-02 16:00:47 +08:00
xixingya 94e7244eb0
fix the consumer remoteApplication is null (#12635)
* fix the consumer remoteApplication is null

* fix the consumer remoteApplication is null

* fix the consumer remoteApplication is null

* fix the consumer remoteApplication is null
2023-07-02 09:35:28 +08:00
Albumen Kevin c05127e360
Pretty invokers toString format (#12618) 2023-06-29 19:34:37 +08:00
Albumen Kevin ea35f7ed5c Revert "refactor: migrate tracing core from boot-start to dubbo deployer (#12453)"
This reverts commit a613cae2
2023-06-20 10:02:30 +08:00
Albumen Kevin f81c3f3a44
Cache interfaceClass in advance to prevent IndexOutOfBoundsException (#12567) 2023-06-19 18:56:01 +08:00
wxbty 913e66e965
Supplementary dirctory metrics data push (#12539)
* Supplementary dirctory metrics data push

* puplish after publish
2023-06-19 17:37:37 +08:00
Albumen Kevin a4e9c9efa4
Fix local invoke consumer url override (#12553) 2023-06-19 09:34:29 +08:00
Albumen Kevin 3160602072
Rename getModelEnvironment to modelEnvironment (#12551) 2023-06-19 09:34:06 +08:00
conghuhu a613cae2f3
refactor: migrate tracing core from boot-start to dubbo deployer (#12453)
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-06-17 19:54:12 +08:00
Albumen Kevin e07e5e294b
Fix get method name from invocation (#12519)
* Fix get method name from invocation

* fix compile
2023-06-13 20:25:25 +08:00
Ken Liu dd94c1561a
fix router match condition (#12491)
* fix router match condition

* fix ut compilation

* add null check
2023-06-12 20:48:03 +08:00
Ken Liu 3fa518505f
Add log for remote configuration. (#12294)
* add log for remote configuration.

* Give dynamic routing rule notification 'info'  log level.

* remove unused imports

* revert warn log change

* fix import

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-06-12 20:30:42 +08:00
Albumen Kevin f95111029b
Fix injvm invoker check (#12479)
* Fix injvm invoker check

* Fix injvm invoker check

* Fix injvm invoker check
2023-06-08 16:20:51 +08:00
Albumen Kevin c8ef10e8a5
Check if return AsyncRpcResult in Filter (#12467)
* Check if return AsyncRpcResult in Filter

* Fix compatible
2023-06-06 19:39:50 +08:00
Albumen Kevin 1b5ff0fc9b
Fix invoker recovery (#12445) 2023-06-01 18:46:17 +08:00
Phoenix Backendon c76e97dc61
Fix issue #12334.provide broadcast rules to adapt the calling mode. (#12347)
* Fix issue #12334.provide broadcast rules to adapt the calling mode.

* add isDebugEnabled
2023-05-19 15:31:54 +08:00
wxbty b7fc2b9a6a
Metrics opt (#12288)
* opt metrics

* update testcase because of datastruct-map modify to AutoInteger(0)

* fix ci

* fix ci

* add comment

* fix static m

* fix testcase

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-05-17 17:19:51 +08:00
wxbty acd4212f59
refactor metrics defaultCollector&&agg (#12206)
* remove unused generic

* use request event

* fix test

* add licence

* bugfix

* code opt

* code opt

* code opt

* code opt

* code opt

* code opt

* fix ci

* fix

* revert

* opt

* opt

* bugfix

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-05-02 21:56:54 +08:00
PiteXChen 1138b97492
fix: Adjusting cluster invoker checks (#12139)
* Adjustment check(#12138)

* Unit test optimization

* Code optimization
2023-04-25 11:49:16 +08:00
wxbty b81c141486
Refactor Metrics Key&Collector (#12083)
* tmp

* tmp

* tmp

* composite

* add licence

* remove

* style

* style

* tmp

* Refactor Metrics Key&Collector

* fix ci

* fix ci

* fix ci

* fix ci

* fix

* remove unuse

* code opt, remove unuse && magic num

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-04-14 13:20:19 +08:00
Albumen Kevin 7facd5be19
Fix memory leak when hashed wheel time re-put (#12022) 2023-04-11 19:00:02 +08:00
KamTo Hung f05662a66d
optimize JsonUtils (#12057) 2023-04-11 11:24:55 +08:00
wxbty 3c518e9443
Refactor metrics data Composite (#12036)
* tmp

* tmp

* tmp

* composite

* add licence

* remove

* style

* style

* use anoymous composite

* use anoymous composite

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
Co-authored-by: earthchen <earthchen1996@gmail.com>
2023-04-11 09:26:41 +08:00
wxbty bbb151b0dc
Registry Dirctory Metrics should interface level (#12012)
* dirctory service level

* fix mock npe

* fix ci

* refresh count

* refresh count

* refresh when notify

* remove unuse

* set key for dirctory metrics

* test remove clear

* revert

* fix ci

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-04-10 07:21:08 +08:00
songxiaosheng 2324db0805
🐛Compatible with old and new versions of micrometer (#11922)
* 🐛Compatible with old and new versions of micrometer

* 🐛Compatible with old and new versions of micrometer

* 🐛Compatible with old and new versions of micrometer

* 🔧 support micrometer low version

* 🔧 support micrometer low version

* 🔀 merge observabilit code

* ✏️ request metrics type to counter

* 🐛Compatible with old and new versions of micrometer

* 🐛Compatible with old and new versions of micrometer

*  fix metrics sample test

*  add metrics description

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-04-07 21:19:02 +08:00
wxbty c5938d4873
Metrics Event/Listener refactor (#11982)
* Refactor Listener

* remove unuse

* add licence

* add default event available

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-04-04 09:48:04 +08:00
MieAh aeb2bec1d7
Opt ScopeClusterInvoker docs and uts (#11971)
* Add detailed docs and reconstruct code order.

* Optimize comments and exception information

* Improve unit testing to achieve 100% coverage.
2023-03-31 15:48:35 +08:00
conghuhu 8fc267ba9b
feat: add tracing config (#11959)
* feat: add TracingConfig

* fix: fix conflict

* fix: fix enum nested error

* fix: fix unit test
2023-03-30 10:23:23 +08:00
Albumen Kevin 8c10572967
Bump snakeyaml from 1.32 to 2.0 (#11950)
* Bump snakeyaml from 1.32 to 2.0

* Update pom.xml
2023-03-29 13:58:45 +08:00
conghuhu 17f4b33368
fix: fix ObservationSenderFilter and MetricsClusterFilter spi config (#11952) 2023-03-29 10:13:52 +08:00