[feat][monitor] Add publish latency histogram as OTel metrics#24810
Merged
lhotari merged 1 commit intoapache:masterfrom Oct 7, 2025
Merged
[feat][monitor] Add publish latency histogram as OTel metrics#24810lhotari merged 1 commit intoapache:masterfrom
lhotari merged 1 commit intoapache:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #24810 +/- ##
=============================================
+ Coverage 38.36% 74.25% +35.89%
- Complexity 13171 33763 +20592
=============================================
Files 1854 1912 +58
Lines 144870 149084 +4214
Branches 16808 17299 +491
=============================================
+ Hits 55574 110704 +55130
+ Misses 81752 29541 -52211
- Partials 7544 8839 +1295
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
lhotari
pushed a commit
that referenced
this pull request
Oct 8, 2025
(cherry picked from commit 24f3814)
walkinggo
pushed a commit
to walkinggo/pulsar
that referenced
this pull request
Oct 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PIP: #21080
Motivation
Please see the PIP-264 doc.
ref.
Modifications
PulsarDeprecatedMetricannotation to thepulsar_broker_publish_latencyPrometheus metricsVerifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
pulsar.broker.topic.publish.latencyDocumentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: equanz#13