Commit Graph

1638 Commits

Author SHA1 Message Date
Albumen Kevin 2a5b437d58
Support check if qos server is started (#12952) 2023-08-23 19:00:07 +08:00
dependabot[bot] 631c1e0f24
Bump org.aspectj:aspectjweaver from 1.9.19 to 1.9.20 (#12930)
Bumps [org.aspectj:aspectjweaver](https://github.com/eclipse/org.aspectj) from 1.9.19 to 1.9.20.
- [Release notes](https://github.com/eclipse/org.aspectj/releases)
- [Commits](https://github.com/eclipse/org.aspectj/commits)

---
updated-dependencies:
- dependency-name: org.aspectj:aspectjweaver
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 18:33:19 +08:00
Albumen Kevin 85b03bca56
Support keep running on spring closed with properties (#12912)
* Support keep running on spring closed with properties

* name
2023-08-16 15:15:13 +08:00
Albumen Kevin 972a0814b9
Fix Spring Listener order (#12911) 2023-08-16 14:30:52 +08:00
TomlongTK 1c48ba262c
use ProtocolUtils.isGeneric judge generic type (#12876) 2023-08-11 14:15:20 +08:00
kanghailin 45405ff340
Optimize code in DubboSpringInitializer (#12834) 2023-08-09 19:15:27 +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
Albumen Kevin 97227e4e8e
PutAll configs to application environment instead of override for spring properties (#12812) 2023-07-29 19:19:43 +08:00
Albumen Kevin 5caa8524a9
Check if delay is -1 before property for manual publish (#12794) 2023-07-26 11:09:55 +08:00
dependabot[bot] 2e60ddfdaf
Bump org.springframework.boot:spring-boot-starter-test (#12786)
Bumps [org.springframework.boot:spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.13 to 2.7.14.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.13...v2.7.14)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-25 21:03:04 +08:00
Albumen Kevin ba5ca1c150
Remove -1 delay usage (#12767) 2023-07-25 20:38:36 +08:00
Albumen Kevin cec66fa263
Fix compact with spring 3.2.x (#12741) 2023-07-17 14:20:51 +08:00
Albumen Kevin e322b17301
Check if initialized for ReferenceBean (#12723)
* Check if initialized for ReferenceBean

* fix name
2023-07-14 13:52:07 +08:00
liufeiyu1002 1c5265073b
Fix deadlock when starting (#12659) 2023-07-14 09:52:11 +08:00
suncairong163 d452ea4924
Feature/dubbo32. resteasy filter&intercept support (#12492)
* export path matcher & Invoker to user

* export path & invoker to user

* add path matcher service method compare ut

* fix httpMethodMatch

* fix bug

* add resteasy filter & intercept

* add comment

* add filter  & intercept  ut

* add filter  & intercept  ut

* fix content-type add headers

* some modify request

* some change request & add response filter

* add licence

* some modify request

* add rest easy exception mapper

* add filter context ,execute filter by loop

* add test dependency

* response filter on class modify

* fix ClassNoFoundError by add onclass & some chang request

* fix change request

* add response intercept ut

* add response intercept ut

---------

Co-authored-by: suncr <suncairong@moresec.cn>
Co-authored-by: huazhongming <crazyhzm@gmail.com>
2023-07-12 12:26:03 +08:00
Albumen Kevin d2eb2ba3d7
Performance opt (#12680) 2023-07-11 14:42:33 +08:00
Albumen Kevin f2e9fb9b31
Fix reference bean has not been init if deployer is early started (#12697) 2023-07-08 15:34:12 +08:00
Albumen Kevin 6ad735d74a
Fix server shutdown await timeout (#12644) 2023-07-03 10:16:14 +08:00
Albumen Kevin 563a0e472a
Enable spring bean autowired to get scope model in advance (#12608)
* Enable spring bean autowired to get scope model in advance

* Fix uts

* Fix uts
2023-06-29 10:31:36 +08:00
dependabot[bot] 150b19e84a
Bump spring-boot-starter-test from 2.7.12 to 2.7.13 (#12601)
Bumps [spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.12 to 2.7.13.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.12...v2.7.13)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 19:56:35 +08:00
Albumen Kevin e79e0214cb
Enhance register type of ServiceConfig (#12583)
* Enhance register type of ServiceConfig

* fix else
2023-06-22 14:30:06 +08:00
Albumen Kevin 3b7934f512
Fix registry repeat export same service (#12578)
* Fix registry repeat export same service

* fix uts

* Fix export

* Fix export
2023-06-21 11:29:54 +08:00
Albumen Kevin 25c2b3808a
Disable register if registry disable register (#12579)
* Disable register if registry disable register

* Fix tag

* Fix tag
2023-06-21 09:23:40 +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 a941985c99
Skip check ignored extensions (#12571) 2023-06-19 21:29:14 +08:00
Albumen Kevin 3160602072
Rename getModelEnvironment to modelEnvironment (#12551) 2023-06-19 09:34:06 +08:00
Albumen Kevin b20d63ef1f
Disable all filters for internal service (#12515)
* Disable all filters for internal service

* fix uts

* fix uts
2023-06-18 15:12:38 +08:00
Zhang Xiang Wei 467622aac6
fix https://github.com/apache/dubbo/issues/12526 (#12527) 2023-06-18 13:45: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 83b4114a9f
Fix ServiceConfig Ref unable to toString (#12511) 2023-06-13 08:35:20 +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 784edd7a85
Support Reference check timeout (#12506) 2023-06-12 19:28:03 +08:00
Albumen Kevin c7a69a60a8
Check registry in checkAndUpdateSubConfigs (#12486) 2023-06-10 18:15:20 +08:00
wangda 24935b1bb0
Correcting spelling mistakes (#12480)
Signed-off-by: zhangwd3 <zhangwd3@asiainfo.com>
2023-06-09 10:29:27 +08:00
Albumen Kevin f35ac09353
Publish Module deployer state event (#12477)
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-06-08 12:48:55 +08:00
Albumen Kevin a758a1e7e0
Resolve conflicts of spring bean (#12474)
* Resolve conflicts of spring bean

* Fix import

* Fix uts

* Fix uts

* Fix uts
2023-06-08 12:47:57 +08:00
Albumen Kevin 04d132fee1
Check reference after register (#12472)
* Check reference after register

* Add logs

* Fix method

* Fix style

* Fix remove

* Fix remove
2023-06-08 10:13:55 +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
Albumen Kevin ba308219c6
Register services after module started (#12450) 2023-06-07 13:49:49 +08:00
dependabot[bot] 2227f0b4aa
Bump testcontainers from 1.18.1 to 1.18.3 (#12456)
Bumps [testcontainers](https://github.com/testcontainers/testcontainers-java) from 1.18.1 to 1.18.3.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.18.1...1.18.3)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 17:37:33 +08:00
Albumen Kevin f60ac914f4
Use Dubbo Proxy instead of Spring Proxy (#12439)
* Use Dubbo Proxy instead of Spring Proxy

* Fix exception
2023-06-01 18:46: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
Albumen Kevin 3fd0a5a922
Remove some utils usage from alibaba-spring-context (#12442) 2023-06-01 16:04:00 +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
dependabot[bot] 7561ab45fe
Bump spring-boot-starter-test from 2.7.11 to 2.7.12 (#12369)
Bumps [spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.11 to 2.7.12.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.11...v2.7.12)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 20:11:16 +08:00
YAGAMIL 9b9688c6a2
When PropertyValue "parameters" is [null] or [EMPTY], return to HashMap that can be modified (#12354)
* org.apache.dubbo.config.spring.util.DubboAnnotationUtils.convertParameters中put对象为空时,返回空的HashMap而不是EmptyMap以支持后续put

* getParameters 补充this

---------

Co-authored-by: 宿尘 <tablojhin.lb@alibaba-inc.com>
2023-05-21 15:53:34 +08:00
Albumen Kevin 08727e8e27
Metrics and Metadata Service Export when needed (#12346) 2023-05-19 16:18:12 +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
AYue 5fb15a130d
fix: DefaultModuleDeployer start fail, but export MetadataService(#12315) (#12316)
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-05-18 17:45:14 +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
Albumen Kevin 7b595b19bf
Enhance shutdown hook logs (#12336) 2023-05-17 14:51:15 +08:00
dependabot[bot] 978c857092
Bump testcontainers from 1.18.0 to 1.18.1 (#12309)
Bumps [testcontainers](https://github.com/testcontainers/testcontainers-java) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.18.0...1.18.1)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-16 12:53:11 +08:00
Albumen Kevin cbc2040133
Update zk version (#12319)
* Update zk version

* tmp disable

* Update build-and-test-pr.yml
2023-05-16 10:50:05 +08:00
songxiaosheng 75abb01bb4
🔥 remove unuse metrics config (#12266)
* 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

---------

Co-authored-by: wxbty <wxb_101@163.com>
Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-05-10 14:10:18 +08:00
conghuhu 796e9ec9b6
fix: fix mutiple tracing config (#12247) 2023-05-08 07:41:48 +08:00
icodening c5f8ce6478
auto detect proxy type (#12232)
* auto detect proxy type

* auto detect proxy type
2023-05-05 16:18:31 +08:00
suncairong163 ab85403d47
rest provider interface judge modify (#12163)
* rest impl class support by changing  service config  interface judge

* add test System.exit(1)

* remove  test System.exit(1)

* add Override annotation

* add comment to containsRestProtocol

* refacor method name
2023-05-02 21:42:07 +08:00
KamTo Hung a59a378de5
Fix consumer startup failure (#12204)
* fix #12099

* fix #12099

* add UT

* fix #12099
2023-05-02 21:41:04 +08:00
Albumen Kevin 25a08a2b40
Support offline notify (#12211)
* Support offline notify

* Add log
2023-05-02 21:25:11 +08:00
Albumen Kevin 3552347d44
Support Shutdown Gracefully (#12118) 2023-04-28 14:21:47 +08:00
ShenFeng312 9687e48949
Polish comments and logs (#12169) 2023-04-25 14:16:56 +08:00
dependabot[bot] d37f440528
Bump spring-boot-starter-test from 2.7.10 to 2.7.11 (#12181)
Bumps [spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.10 to 2.7.11.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.10...v2.7.11)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 13:58:28 +08:00
wxbty d6f9d8d38f
Configuration center metrics separate module (#12096)
* init config module

* remove old

* add pom

* add pom

* add in artifact

* use consts

* add comment

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-04-19 18:33:13 +08:00
Albumen Kevin 1b838281a4
QoS Support anonymous command allow list (#12082)
* QoS Support anonymous command allow list

* Fix test
2023-04-19 10:13:09 +08:00
conghuhu 559b13ae2e
feat: add tracing starters && add zipkin auto configuration (#12013)
* fix: fix observ-starter some bugs

* faet: add zipkin auto configuration

* fix: remove zipkin endpoint default value

* feat: add prometheus client bom to observability starter

* feat: add observability starters

* fix: add license

* feat: add observability-brave-zipkin-starter to dubbo-distribution

* fix: add moudles to dubbo-bom

* stylelint

* chore: change observ starter name

* fix
2023-04-15 11:47:12 +08:00
robin977 ff4c1e8672
Fixed the observable collection thread pool indicator (#12087)
Co-authored-by: robin <pengrobin607@gmail.com>
2023-04-13 14:00:31 +08:00
Albumen Kevin 94a50e5d4e
Set isolated executor for internal services (#12067) 2023-04-11 21:29:30 +08:00
Albumen Kevin bc85a3f29a
Performance Optimization (#11975) 2023-04-11 16:10:06 +08:00
Albumen Kevin 412471a98f
Enhance inconsistent version check (#12038)
* Enhance inconsistent version check

* Fix seperate

* Fix load

* Fix load

* Fix test

* Update pom.xml

* Print tree

* use zip instead

* Fix test
2023-04-11 15:14:48 +08:00
aamingaa 93d146924a
feat: generic timeout (#11677)
* feat: generic timeout

* feat: generic timeout

* feat: fix ut

* feat: change to default

* feat: test verify method

* feat: test verify method

* Update dubbo-common/src/test/java/org/apache/dubbo/config/AbstractInterfaceConfigTest.java

change to assertFalse

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>

* Update dubbo-common/src/test/java/org/apache/dubbo/config/AbstractInterfaceConfigTest.java

assertFalse

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>

* feat: fix ut。。。

* feat: fix ut。。。

* feat: testVerifyMethod

* feat: testVerifyMethod

* feat: fix msg

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-04-11 14:20:48 +08:00
KamTo Hung f05662a66d
optimize JsonUtils (#12057) 2023-04-11 11:24:55 +08:00
dependabot[bot] 8efd069ded
Bump testcontainers from 1.17.6 to 1.18.0 (#12053)
Bumps [testcontainers](https://github.com/testcontainers/testcontainers-java) from 1.17.6 to 1.18.0.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.6...1.18.0)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 19:13:54 +08:00
wxbty 0ff44d3d75
Optimize naming, remove duplicate words (#11969)
* Optimize naming, remove duplicate words

* fix ci

* fix ci

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-04-06 09:39:09 +08:00
suncairong163 912deb69a8
Feature/3.2 rest protocol provider (#11640) 2023-04-05 14:10:53 +08:00
dependabot[bot] d974a5499e
Bump aspectjweaver from 1.9.5 to 1.9.19 (#11996)
Bumps [aspectjweaver](https://github.com/eclipse/org.aspectj) from 1.9.5 to 1.9.19.
- [Release notes](https://github.com/eclipse/org.aspectj/releases)
- [Commits](https://github.com/eclipse/org.aspectj/commits)

---
updated-dependencies:
- dependency-name: org.aspectj:aspectjweaver
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 17:17:24 +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
Albumen Kevin 17887768d0
Add onInitialize Support (#11962)
* Add onInitialize Support

* Fix compile
2023-04-02 14:03:30 +08:00
earthchen 741b7854af
Revert "feat: change default mode (#11653)" (#11973)
This reverts commit feaa530589.
2023-03-30 19:20:08 +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
wxbty 0d430985a3
Metrics collection is enabled by default (#11955)
* default enable

* fix ci

* add Prometheus judge

* fix

* revert default

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-03-29 20:33:46 +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
robin977 a804501d26
add switch configuration for thread pool indicator burying point) (#11788) (#11923)
* adding the reject task indicator for thread pool burying point(#11706)

* adding the reject task indicator for thread pool burying point(#11706)

* dd switch configuration for thread pool indicator burying point (#11788)

* revert code (add switch configuration for thread pool indicator burying point) (#11788)

* Revert "revert code (add switch configuration for thread pool indicator burying point) (#11788)"

This reverts commit 3370acc63f.

* add switch configuration for thread pool indicator burying point (#11788)

* add switch configuration for thread pool indicator burying point (#11788)

* add switch configuration for thread pool indicator burying point (#11788)

* add metrics on by default (#11788)

---------

Co-authored-by: robin <pengrobin607@gmail.com>
2023-03-29 10:14:43 +08:00
wxbty 1435c23e92
Simplify event publishing (#11863) 2023-03-28 16:11:14 +08:00
songxiaosheng 20a713faf5
🐛 if it has exception processing request need end too. (#11881) 2023-03-28 15:57:21 +08:00
dependabot[bot] a0524215e5
Bump spring-boot-starter-test from 2.7.9 to 2.7.10 (#11906)
Bumps [spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.9 to 2.7.10.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.9...v2.7.10)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 09:51:15 +08:00
gsralex 6faf548e24
Add histogram (#11632) 2023-03-27 09:49:09 +08:00
fomeiherz c91affe875
Add metrics for configcenter (#11602)
* Add ConfigCenter metrics.

* Modifying the obtaining mode for ConfigCenterMetricsCollector.

* Modify method name.

* Add metrics when configCenter initialized.

* Add UnitTest

* Add License.

* bugfix: config test not pass.

* 1.delete author
2.unuse imported

* fix configcenter metrics zk factory

* Get 'dubbo.metrics.configcenter.enable' config from property, get config before startup.

* resolve conflict

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-03-27 09:48:38 +08:00
aamingaa feaa530589
feat: change default mode (#11653) 2023-03-22 13:25:15 +08:00
MieAh 46aff44c2f
Support choose local invoke in runtime instead of startup (#11531) 2023-03-21 17:01:33 +08:00
wxbty 2f4944e853
Interface level registry metrics (#11786)
* fix

* remove unuse

* add serviceKey subscribe

* fix method refact

* remove unuse

* remove unuse

* fix npe

* fix npe

* fix npe

* add event validate

* fix testcase

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-03-17 13:46:04 +08:00
Mengyang Tang c76607dadc
Add spring configuration for QOS function. (#11823) 2023-03-16 09:48:03 +08:00
Mengyang Tang d061b29b39
Some code optimization (#11825)
* Code optimization

* Code optimization: modifier optimization, condition simplification, etc.

* Fix CI error

* Fix CI error
2023-03-16 09:43:57 +08:00
kanghailin e6ee6088bf
Remove redundant synchronized (#11811) 2023-03-13 20:55:41 +08:00
wxbty 9ea6094349
Reuse qos port for metrics (#11719)
* init

* init

* reuse qos port for metrics

* reuse qos port for metrics

* fix

* fix

* add logResult

* allow all&&use exist

* remove unuse

* fix testcase

* fix testcase

* public permission level

* revert permission level

* fix

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-03-13 17:05:57 +08:00
Albumen Kevin ea7af7a294 Fix ut 2023-03-11 11:16:19 +08:00
Albumen Kevin a8a8eda38f Fix uts 2023-03-10 17:13:51 +08:00
Albumen Kevin 8e3af257b1 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ReferenceConfigTest.java
2023-03-10 16:54:15 +08:00
Albumen Kevin d0a1bd0143
Fix recreate client after destroy (#11780)
* Fix recreate client after destroy

* Fix uts
2023-03-10 16:25:56 +08:00
robin977 14f2d79693
Fixed the issue where core thread metrics were in effect(#11704) (#11752)
* Fixed the issue where core thread metrics were in effect

* Fixed the issue where core thread metrics were in effect(#11704)

* fix: add core thread metrics name (#11704)

* fix: remove useless dependencies (#11704)

---------

Co-authored-by: robin <pengrobin607@gmail.com>
2023-03-10 15:21:25 +08:00
liufeiyu1002 7277c159cf fix reference bean name conflicts (#11699)
* fix reference bean name conflicts

* add ut case
2023-03-06 19:49:16 +08:00