New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metrics event split #12888
Metrics event split #12888
Conversation
Codecov Report
@@ Coverage Diff @@
## 3.3 #12888 +/- ##
============================================
+ Coverage 65.81% 68.27% +2.46%
Complexity 6 6
============================================
Files 1843 1716 -127
Lines 73722 70661 -3061
Branches 10465 10243 -222
============================================
- Hits 48517 48246 -271
+ Misses 20489 17715 -2774
+ Partials 4716 4700 -16 see 280 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@songxiaosheng @wxbty PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are many codes related to the metrics event, so it makes sense to split them
...o-metrics/dubbo-metrics-event/src/main/java/org/apache/dubbo/metrics/event/MetricsEvent.java
Outdated
Show resolved
Hide resolved
...s-metadata/src/test/java/org/apache/dubbo/metrics/metadata/MetadataMetricsCollectorTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
please fix confict |
# Conflicts: # dubbo-metrics/dubbo-metrics-event/src/main/java/org/apache/dubbo/metrics/event/MetricsEventBus.java
Kudos, SonarCloud Quality Gate passed! |
What is the purpose of the change
As a part of dubbo-core refactor, we need to split out the event-related API out of dubbo-metrics-api. This allows users to import only the event API related to the module they are using, rather than all of it.
Brief changelog
This PR contains only dubbo-metrics-event. The plugin packages are not split so far.