-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add pulsar_subscription_consumers_count metric #15042
Conversation
Alternative PR to #15041 for discussion. |
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
Had to do a fix for when consumer metrics are not enabled. Can you review again ? |
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
Fixes apache#15032 ### Modifications Added metric `pulsar_subscription_consumers_count`
ping @momo-jun for providing help on docs |
Hi @cbornet, will you like to submit a follow-up PR to add docs? Let us know your plan or any other assistance you need. |
Fixes apache#15032 ### Modifications Added metric `pulsar_subscription_consumers_count` (cherry picked from commit 789fa50)
Doc status update@cbornet will submit a PR to add docs soon. |
Fixes #15032
Modifications
Added metric
pulsar_subscription_consumers_count
Verifying this change
This change added tests and can be verified as follows:
Run
PrometheusMetricsTest::testNonPersistentSubMetrics
Does this pull request potentially affect one of the following parts:
no
If
yes
was chosen, please highlight the changesDocumentation
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
There are other undocumented subscription metrics. Should document all of them in another PR ?
doc
(If this PR contains doc changes)