-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Non-persistent topic subscription metrics #13827
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
Non-persistent topic subscription metrics #13827
Conversation
@gaozhangmin:Thanks for your contribution. For this PR, do we need to update docs? |
@gaozhangmin:Thanks for providing doc info! |
6be5606
to
aca0eec
Compare
/pulsarbot run-failure-checks |
339a199
to
a0b89a2
Compare
/pulsarbot run-failure-checks |
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
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
@codelipenghui PTAL |
...broker/src/main/java/org/apache/pulsar/broker/stats/prometheus/NamespaceStatsAggregator.java
Show resolved
Hide resolved
c591443
to
bd7c36b
Compare
...broker/src/main/java/org/apache/pulsar/broker/stats/prometheus/NamespaceStatsAggregator.java
Outdated
Show resolved
Hide resolved
...broker/src/main/java/org/apache/pulsar/broker/stats/prometheus/NamespaceStatsAggregator.java
Outdated
Show resolved
Hide resolved
5b17d48
to
5d0c142
Compare
5d0c142
@Jason918 Can this pr be merged now? |
(cherry picked from commit bba4cff)
### Motivation Non-persistent topic doesn't have subscription metrics ### Modifications Expose a new non-persistent subscription metric: `pulsar_subscription_msg_drop_rate`
### Motivation Non-persistent topic doesn't have subscription metrics ### Modifications Expose a new non-persistent subscription metric: `pulsar_subscription_msg_drop_rate`
### Motivation Non-persistent topic doesn't have subscription metrics ### Modifications Expose a new non-persistent subscription metric: `pulsar_subscription_msg_drop_rate` (cherry picked from commit d548bc4)
### Motivation Non-persistent topic doesn't have subscription metrics ### Modifications Expose a new non-persistent subscription metric: `pulsar_subscription_msg_drop_rate` (cherry picked from commit d548bc4)
Depends by #15674, so cherry-pick to branch 2.10 |
Fixes #13645
Motivation
Non-persistent topic doesn't have subscription metrics
Modifications
Expose a new non-persistent subscription metric:
pulsar_subscription_msg_drop_rate
Verifying this change
This change added tests and can be verified as follows:
org.apache.pulsar.broker.stats.PrometheusMetricsTest#testNonPersistentSubMetrics
Documentation
Check the box below or label this PR directly (if you have committer privilege).
Need to update docs?
doc-required
(If you need help on updating docs, create a doc issue)
no-need-doc
(Please explain why)
doc
(If this PR contains doc changes)