Skip to content
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

Merged
merged 1 commit into from Feb 22, 2022

Conversation

gaozhangmin
Copy link
Contributor

@gaozhangmin gaozhangmin commented Jan 19, 2022

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)

@github-actions
Copy link

@gaozhangmin:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions
Copy link

@gaozhangmin:Thanks for providing doc info!

@github-actions github-actions bot added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Jan 19, 2022
@gaozhangmin
Copy link
Contributor Author

/pulsarbot run-failure-checks

@gaozhangmin gaozhangmin force-pushed the non-persistent-sub-metrics branch 2 times, most recently from 339a199 to a0b89a2 Compare January 21, 2022 08:46
@gaozhangmin
Copy link
Contributor Author

/pulsarbot run-failure-checks

zzzming
zzzming previously approved these changes Jan 25, 2022
Copy link
Contributor

@zzzming zzzming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

nicoloboschi
nicoloboschi previously approved these changes Jan 25, 2022
Copy link
Contributor

@nicoloboschi nicoloboschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Jan 25, 2022
@gaozhangmin
Copy link
Contributor Author

@codelipenghui PTAL

@gaozhangmin gaozhangmin force-pushed the non-persistent-sub-metrics branch 2 times, most recently from c591443 to bd7c36b Compare February 15, 2022 07:08
@gaozhangmin
Copy link
Contributor Author

@Jason918 Can this pr be merged now?

@Jason918 Jason918 merged commit d548bc4 into apache:master Feb 22, 2022
@codelipenghui codelipenghui added this to the 2.11.0 milestone Feb 23, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Feb 28, 2022
nicoloboschi pushed a commit to nicoloboschi/pulsar that referenced this pull request Mar 1, 2022
### Motivation
Non-persistent topic doesn't have subscription metrics

### Modifications

Expose a new non-persistent subscription metric: `pulsar_subscription_msg_drop_rate`
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
### Motivation
Non-persistent topic doesn't have subscription metrics

### Modifications

Expose a new non-persistent subscription metric: `pulsar_subscription_msg_drop_rate`
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Apr 28, 2022
### 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)
codelipenghui pushed a commit that referenced this pull request Jun 13, 2022
### 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)
@codelipenghui
Copy link
Contributor

Depends by #15674, so cherry-pick to branch 2.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No subscription metrics for non persistent topic consumer
6 participants