-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improve][broker] PIP-406: Introduce metrics related to dispatch throttled events #23946
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
Conversation
13a97c0 to
a51bb86
Compare
a51bb86 to
4b4915b
Compare
4488dc2 to
216e885
Compare
216e885 to
19df20e
Compare
|
@RobertIndie @lhotari @poorbarcode Could help review this PR, thanks. |
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractBaseDispatcher.java
Outdated
Show resolved
Hide resolved
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #23946 +/- ##
============================================
+ Coverage 73.57% 74.27% +0.69%
+ Complexity 32624 32087 -537
============================================
Files 1877 1863 -14
Lines 139502 144403 +4901
Branches 15299 16461 +1162
============================================
+ Hits 102638 107254 +4616
+ Misses 28908 28688 -220
- Partials 7956 8461 +505
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
lhotari
left a comment
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, good work @shibd
|
@shibd It would be great to have this metric available in 4.0.x. Any plans for that? |
I think we can cherry-picked to 4.0. Once this PR is merged, I'll submit a separate PR and then vote on it via email. |
…ttled events (apache#23946) (cherry picked from commit 4f9031b)
Motivation
Refer to #23945
Modifications
Verifying this change
testSubscriptionStatsDispatchThrottled,testBrokerDispatchThrottledMetrics,testTopicDispatchThrottledMetricsto cover itDoes this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-complete