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
[fix][monitor] topic with double quote breaks the prometheus format #20230
Conversation
...-broker/src/main/java/org/apache/pulsar/broker/stats/prometheus/PrometheusMetricStreams.java
Show resolved
Hide resolved
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.
/pulsarbot rerun-failure-checks |
Weird topic name, it should be illegal after applying PIP #19239. |
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
/pulsarbot rerun-failure-checks |
Codecov Report
@@ Coverage Diff @@
## master #20230 +/- ##
============================================
+ Coverage 34.48% 38.40% +3.91%
- Complexity 12537 13149 +612
============================================
Files 1614 1691 +77
Lines 126170 131348 +5178
Branches 13771 14519 +748
============================================
+ Hits 43509 50440 +6931
+ Misses 77053 74488 -2565
- Partials 5608 6420 +812
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…pache#20230) (cherry picked from commit ea56197) (cherry picked from commit f94c8cb) (cherry picked from commit d8bf38e)
As discussed on the mailing list https://lists.apache.org/thread/w4jzk27qhtosgsz7l9bmhf1t7o9mxjhp, there is no plan to release 2.9.6, so I am going to remove the release/2.9.6 label |
Motivation
If you create a topic with the double quote in the name (e.g.
public/default/"mytopic
) then there are some metrics that are generated in a broken format.This leads to errors in the grafana dashboards.
Modifications
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
doc
doc-required
doc-not-needed
doc-complete