HDDS-10047. Add number of datanodes, total capacity/used space to SCMNodeMetrics#5905
Merged
kerneltime merged 1 commit intoapache:masterfrom Jan 2, 2024
Merged
HDDS-10047. Add number of datanodes, total capacity/used space to SCMNodeMetrics#5905kerneltime merged 1 commit intoapache:masterfrom
kerneltime merged 1 commit intoapache:masterfrom
Conversation
Change-Id: I7d66b19b812c9ca9edbeb7c4ff8d5abc8242cbfd
kerneltime
added a commit
that referenced
this pull request
Jan 2, 2024
This reverts commit f782b64.
adoroszlai
pushed a commit
that referenced
this pull request
Jan 2, 2024
Contributor
|
Please pay attention when merging PRs. If it has a single commit, GitHub uses the commit's message by default, not the PR title. |
jojochuang
pushed a commit
to jojochuang/ozone
that referenced
this pull request
Feb 1, 2024
…space to SCMNodeMetrics (apache#5905) (cherry picked from commit dfd5cee) Change-Id: If69e4d8cec80d9c74b6ad3a239de97befc15a35b
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?
I added three new metrics to the
SCMNodeMetrics:With this change these metrics will be available in the SCM's JMX endpoint. This is an addition to the already existing SCMNodeMetrics, which will be useful when we want to gather information about the overall state of the cluster.
https://issues.apache.org/jira/browse/HDDS-10047
How was this patch tested?
I added the new metrics to the already existing tests, green CI: https://github.com/dombizita/ozone/actions/runs/7387348419