Commit Graph

168 Commits

Author SHA1 Message Date
Albumen Kevin 7d5fa50783
Fix metrics unable to retrieve lazy inited executor status (#14348)
* Fix metrics unable to retrieve lazy inited executor status

* Enhance
2024-06-24 09:26:45 +08:00
xiaosheng 48ad387ace
⬆️ upgrade micrometer tracing to 1.3.0 (#14284)
* ⬆️ upgrade micrometer tracing to 1.3.0

* ⬆️ upgrade micrometer tracing to 1.3.0
2024-06-04 23:17:13 +08:00
xiaosheng 23599941e7
⬆️ upgrade micrometer to 1.13 (#14228)
* ⬆️ upgrade micrometer to 1.13

* ⬆️ upgrade micrometer to 1.13
2024-05-24 09:52:04 +08:00
Kaiyao Ke 8e2eb332a1
fixed non-idempotent unit tests (#14172) 2024-05-11 00:27:46 +08:00
wxbty 50612ad3a7
Revert 13609 due to misoperation (#13634)
* Revert "add test ci"

This reverts commit 4c528230eb.

* Revert "fix"

This reverts commit 20e0b57a81.
2024-01-09 21:34:27 +08:00
wxbty 4c528230eb add test ci 2024-01-09 20:56:08 +08:00
Albumen Kevin 745ba45ea4
Fix MethodKeyRt override & Error enhance (#13580)
Co-authored-by: xiaosheng <songxiaosheng@apache.org>
2023-12-27 23:20:10 +08:00
xiaosheng 58fa120795
🐛 fix metrics servce level config bug (#13449)
* 🐛 fix metrics servce level config bug

* 🐛 fix metrics servce level config bug

* 🐛 fix metrics servce level config bug

* 🐛 fix metrics servce level config bug
2023-12-04 09:34:47 +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
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
Albumen Kevin 8b0bd8a043
Remove duplicated class (#13144) 2023-09-30 10:38:24 +08:00
Albumen Kevin 70600eb632
Add metrics version compare (#13104) 2023-09-30 10:06:21 +08:00
Albumen Kevin 34c5bbf713
Support customize collector sync period (#13140) 2023-09-28 11:09:06 +08:00
songxiaosheng 5903d0be8d
opt unuse label (#13034)
*  opt unuse label

*  opt unuse label

* ♻️ application metrics add commit id

* ♻️ refact application tag name

*  remove unuse test line

*  add application metrics test

*  remove unuse test line

*  remove unuse test line
2023-09-25 19:27:29 +08:00
Albumen Kevin da801bf177
Remove identity hash code usage (#13112) 2023-09-25 18:43:04 +08:00
Albumen Kevin 705d96e9f6
Fix uts on 3.2 (#13090) 2023-09-21 14:07:14 +08:00
Albumen Kevin 139a62ebb9
Fix qps time window unit (#13077) 2023-09-19 10:23:24 +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
wxbty e887bab83b
remove unuse code (#13036)
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-09-12 20:21:38 +08:00
Albumen Kevin 4c4bcb7a25
Support disable metrics init and sync (#13025) 2023-09-10 17:18:22 +08:00
Albumen Kevin 025c078948
Check before init agg metrics (#12989) 2023-08-31 19:30:27 +08:00
robin977 711de7c2a0
Adds metrics initialization metrics for the service interface(#12850) (#12892)
* Fixed the observable collection thread pool indicator

* Adds metrics initialization metrics for the service interface(#12850)

---------

Co-authored-by: robin <pengrobin607@gmail.com>
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-08-26 20:54:08 +08:00
Albumen Kevin 9d7c1b62bd Revert " avoid use string.format (#12816)"
This reverts commit bac06929f2.
2023-08-23 11:17:15 +08:00
songxiaosheng b87746b19f
🚑 add more metrics catch (#12917) 2023-08-16 20:04:25 +08:00
Albumen Kevin 90cae426ab
Fix DubboMergingDigest concurrent issue (#12913) 2023-08-16 15:42:05 +08:00
songxiaosheng bac06929f2
avoid use string.format (#12816)
*  avoid use string.format

*  avoid use string.format

*  avoid use string.format

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-08-09 16:05:04 +08:00
songxiaosheng 1b8688c179
🚑 avoid metric bug (#12817)
* 🚑 avoid metric bug

* 🚑 avoid metric bug

* 🚑 avoid metric bug

* 🚑 avoid metric bug

* 🚑 avoid metric bug
2023-07-31 14:58:10 +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
songxiaosheng 10870708eb
🔥 remove applicationName in jvm metric (#12770)
* 🔥 remove applicationName in jvm metric

* 🔥 remove applicationName in jvm metric

* 🔥 remove applicationName in jvm metric
2023-07-31 10:25:02 +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
PiteXChen 12f2222326
Add enable collect judgment (#12666)
* add Enable Collect Judgment

* add Enable Collect Judgment
2023-07-19 15:00:26 +08:00
Albumen Kevin 097463a83e
Enhance metrics (#12714)
* Enhance metrics

* Update failed

* Enhance option

* rename

* enhance
2023-07-13 09:41:33 +08:00
wxbty d4856e2b0d
fix digest thread_safe bug (#12712)
* fix thread_safe bug

* fix thread_safe bug

* remove unused

* add comment
2023-07-11 20:44:46 +08:00
Albumen Kevin d2eb2ba3d7
Performance opt (#12680) 2023-07-11 14:42:33 +08:00
wxbty 96fb4e8f32
Bugfix: Use metric obj for key of LongContainer to fix split bug (#12664)
* Use metric obj for key of LongContainer to fix split bug

* fix testcase

* fix

* add hashcode&equals for ApplicationMetric

* remove unuse

* remove import
2023-07-05 14:42:14 +08:00
Albumen Kevin 8474bf5415
Temporally remove fill zero in metrics due to performance issue (#12624)
* Temporally remove fill zero in metrics due to performance issue

* fix uts

* fix uts
2023-06-29 21:31:02 +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
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
TomlongTK c4702142bf
add metrics enable switch (#12389)
* add metrics enable switch

* default false

* default false

* set default true and fix unit test

* xsd set default true

* rename enabled to enableRpc

* make enableRpc default value to true

* fix camel name

* remove default value

---------

Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-06-07 18:54:20 +08:00
songxiaosheng 8ac29d1c82
add processing metric fun of name (#12461)
* degist-concurrency-bugfix

* stytle opt

* fix i++

* revert demo

* fix sonar

* remove apache licence

* add licence

* add testcase&& fix notice

* add notice

* add notice

* add notice

* add notice

* fix ci timeout

* fix ci timeout

* remove testcase because of timeout

* remove testcase because of timeout

* remove testcase because of timeout

* fix ci

* fix sonar

* 🔥 remove metricsPort config

* 🔥 remove metricsPath config

* add processing metric fun

---------

Co-authored-by: wxbty <wxb_101@163.com>
Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-06-06 15:35:29 +08:00
wxbty 55a8940ad1
Add default enable for protocol and histogram (#12137)
* fix default enable for agg and histogram

* fix default enable for agg and histogram

* add default protocol

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-06-01 17:19:25 +08:00
jojocodeX 1835a106c9
Ut change note for english (#12432)
* 添加Jackson序列化器
支持Jackson序列化器扩展配置
代码格式化调整

* Jackson module 注册错误忽略异常

* Jackson module 注册错误忽略异常

* add LdapJackson2Module Jackson module

* add spi to dubbo-all pom config

* remove unused code

* undo remove code

* Run CI

* merge conflict

* ignore codec error

* Change log output

* Add log error code

* Add sliding window stat

* fix checkstyle

* rename and version change

* MetricsKey rename

* MetricsKey rename

* change ut

* Ut change note for english

---------

Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-05-31 18:54:07 +08:00
wxbty ccf7b7b7db
fix invocation.getServiceKey maybe null (#12425) 2023-05-30 10:37:15 +08:00
胡俊 1697a331c3
Display indicator data in KEY, VALUE format (#12273)
* metrics default.

* check style

* test fail

* metrics default update

* qos

* test

* default metrics reporter

* native image

* If no specific metrics type is configured and there is no Prometheus dependency in the dependencies.

* prometheus set

* MeterRegistry dependency check

* errorcode check fail

* CHECKSTYLE

* 1.null check
2.method replace

* default metricsreport register

* format response

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-05-26 15:28:07 +08:00
wxbty 50798b99c7
clean code (#12403) 2023-05-26 13:14:22 +08:00
jojocodeX c57118658c
Metrics add sliding time window statistics (#12364)
* 添加Jackson序列化器
支持Jackson序列化器扩展配置
代码格式化调整

* Jackson module 注册错误忽略异常

* Jackson module 注册错误忽略异常

* add LdapJackson2Module Jackson module

* add spi to dubbo-all pom config

* remove unused code

* undo remove code

* Run CI

* merge conflict

* ignore codec error

* Change log output

* Add log error code

* Prapare 3.2.2 release

* Add sliding window stat

* fix checkstyle

* rename and version change

* MetricsKey rename

* MetricsKey rename

* change ut

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-05-25 13:49:09 +08:00
wxbty d2391d2abd
Metrics default val set 0 (#12379)
* add comment

* use dubbo nullable

* fill default 0

* add licence

* fix ci

* fix ci

* fix ci

* add comment

* fix ci

* fix ci

* modify warn

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-05-24 13:48:43 +08:00
songxiaosheng c22db81a8b
🐛 fix prometheus init failed when start (#12349)
* 🐛 fix prometheus init failed when start

* 🐛 fix prometheus init failed when start

* 🐛 fix prometheus init failed when start
2023-05-19 15:30:18 +08:00
wxbty 6bd2174f01
revert origin key (#12351)
Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-05-19 15:29:30 +08:00