-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[monitor][broker][metadata] add metrics for BatchMetadataStore #17072
[monitor][broker][metadata] add metrics for BatchMetadataStore #17072
Conversation
TIP: You can covert PR status to draft, if it's not ready for review. :) |
Thanks~ |
# Conflicts: # pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/AbstractMetadataStore.java
@codelipenghui @asafm 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.
Looks good. Mainly minor syntax comments aside from one main comment.
...ata/src/main/java/org/apache/pulsar/metadata/impl/batching/AbstractBatchedMetadataStore.java
Outdated
Show resolved
Hide resolved
pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/batching/OpPut.java
Show resolved
Hide resolved
...ar-metadata/src/main/java/org/apache/pulsar/metadata/impl/stats/BatchMetadataStoreStats.java
Show resolved
Hide resolved
...ar-metadata/src/main/java/org/apache/pulsar/metadata/impl/stats/BatchMetadataStoreStats.java
Outdated
Show resolved
Hide resolved
...ar-metadata/src/main/java/org/apache/pulsar/metadata/impl/stats/BatchMetadataStoreStats.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/test/java/org/apache/pulsar/broker/stats/MetadataStoreStatsTest.java
Outdated
Show resolved
Hide resolved
@asafm I've updated the PR and only keeps |
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.
Looks good. One small comment left.
...ar-metadata/src/main/java/org/apache/pulsar/metadata/impl/stats/BatchMetadataStoreStats.java
Outdated
Show resolved
Hide resolved
@codelipenghui PTAL |
/pulsarbot run-failure-checks |
Codecov Report
@@ Coverage Diff @@
## master #17072 +/- ##
============================================
- Coverage 38.97% 38.69% -0.29%
+ Complexity 8311 8262 -49
============================================
Files 683 685 +2
Lines 67325 67335 +10
Branches 7217 7216 -1
============================================
- Hits 26239 26053 -186
- Misses 38079 38281 +202
+ Partials 3007 3001 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/pulsarbot run-failure-checks |
@codelipenghui all the required checks are passed |
@tjiuming did you have a plan to add some information about the new metrics? |
there are already a PR for the doc, I'll update it soon |
Motivation
add metrics for batch_metadata_store.
This PR should being merged after #17041 in case of conflicts.
Documentation
Check the box below or label this PR directly.
Need to update docs?
doc-required
(Your PR needs to update docs and you will update later)
doc-not-needed
(Please explain why)
doc
(Your PR contains doc changes)
doc-complete
(Docs have been already added)
Matching PR in forked repository
PR in forked repository: tjiuming#7