-
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
[feat][broker] PIP-264: Add replication subscription stats #23026
[feat][broker] PIP-264: Add replication subscription stats #23026
Conversation
…ication-subscription-stats
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 @dragosvictor
I'll close and re-open to get a fresh run that runs with latest changes from master branch. |
/pulsarbot rerun-failure-checks |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #23026 +/- ##
============================================
+ Coverage 73.57% 74.50% +0.92%
- Complexity 32624 33727 +1103
============================================
Files 1877 1925 +48
Lines 139502 144927 +5425
Branches 15299 15843 +544
============================================
+ Hits 102638 107976 +5338
+ Misses 28908 28683 -225
- Partials 7956 8268 +312
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…ication-subscription-stats
/pulsarbot rerun-failure-checks |
PIP-264
Motivation
Adds replicated subscription metrics, defined here and here, to the OpenTelemetry pipeline.
Modifications
pulsar_replicated_subscriptions_pending_snapshots
counter, opted to expose the number of snapshot operations attempted. The snapshot duration histogram maintains the number of operations completed. Using these values, the number of pending snapshots can be computed at any time.Verifying this change
This change added tests and can be verified as follows:
ReplicatedSubscriptionTest#testReplicatedSubscriptionAcrossTwoRegions
to cover the new metric values.Does this pull request potentially affect one of the following parts:
Documentation
doc
doc-required
[feat][doc] PIP-264: Add replication subscription metrics reference pulsar-site#941doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: dragosvictor#40