-
Notifications
You must be signed in to change notification settings - Fork 594
HDDS-10182. Add P99 quantiles and Min/Max Metrics for Xceiver Client Performance Metrics #6070
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
Conversation
|
@xichen01 Can you help me review the code? Thank you. |
adoroszlai
left a comment
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.
Thanks @aierate for the patch.
hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/OzoneConfigKeys.java
Outdated
Show resolved
Hide resolved
|
@tanvipenumudy please take a look |
|
@tanvipenumudy Thanks for you Patch. You need to have public final class XceiverClientMetrics implements MetricsSource {
@Override
public void (MetricsCollector collector, boolean all) {
//....
}
}This is because Hadoop Metrics only supports the automatic retrieval of values from Hadoop's built-in classes. |
@xichen01 Thanks for your suggestion very much. I am fixed this bug, please take a look. |
Here is the jmx after fixed this bug. |
|
All unit tests have passed. https://github.com/aierate/ozone/actions |
|
@xBis7 Can you help me review the code? Thank you. |
…Performance Metrics
hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/OzoneConfigKeys.java
Outdated
Show resolved
Hide resolved
|
LGTM |
|
@duongkame @kerneltime @tanvipenumudy please take a look |
|
Thanks @aierate for the patch, @kerneltime @xichen01 for the review. |
What changes were proposed in this pull request?
Use the Performance replica the MutableRate XceiverClient Metrics of XceiverClientMetrics for Client and S3G.
The Performance including MutableQuantiles and MutableMinMax and MutableStat Metrics, the MutableStat is same with original MutableRate Metrics.
Replacing MutableRate with Performance ensures that the original MutableRate remains unchanged, and adds configurable MutableQuantiles and MutableMinMax metrics.
Reference from the following link:
HDDS-9717. Add P99 quantiles and Min/Max Metrics for S3G Performance Metrics #5627
Before
http://ozone:9878/jmx?qry=Hadoop:service=S3Gateway,name=XceiverClientMetrics
After
http://ozone:9878/jmx?qry=Hadoop:service=S3Gateway,name=XceiverClientMetrics
Default (Add MutableMinMax Metrics):
Enable quantiles Metrics:
http://ozone:9878/jmx?qry=Hadoop:service=S3Gateway,name=XceiverClientMetrics
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10182
How was this patch tested?
Manually Test