HDDS-1811. Prometheus metrics are broken#1118
Closed
adoroszlai wants to merge 3 commits intoapache:trunkfrom
Closed
HDDS-1811. Prometheus metrics are broken#1118adoroszlai wants to merge 3 commits intoapache:trunkfrom
adoroszlai wants to merge 3 commits intoapache:trunkfrom
Conversation
Contributor
Author
|
/label ozone |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
Contributor
Author
|
@lokeshj1703 @mukul1987 please review |
|
💔 -1 overall
This message was automatically generated. |
Contributor
|
Thank you for your contribution. I have committed this patch to trunk and 0.4.1 branch. |
shanthoosh
pushed a commit
to shanthoosh/hadoop
that referenced
this pull request
Oct 15, 2019
…ache#1118) This reverts commit ec536e1. PR 1116 included some issues, which will be fixed in PR 1117: 1) semantic change to return values of IncomingMessageEnvelope.getEventTime and IncomingMessageEnvelope.getArrivalTime (changed from millis to nanos) which are public API methods, and it will be hard to find existing usages to make sure they are updated properly, 2) usages of constructor of IncomingMessageEnvelope was not updated to handle nanos correctly in certain places (e.g. KafkaConsumerProxy)
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.
What changes were proposed in this pull request?
Fix invalid metric type errors:
and
.in record name by using simple class name-with_. Also properly convertALL_CAPSnames, eg.RATIS_THREEtoratis_threeinstead of_rati_s-_thre_e.https://issues.apache.org/jira/browse/HDDS-1811
How was this patch tested?
Updated unit test.
Checked metrics in
ozoneperfpseudo-cluster.