-
Notifications
You must be signed in to change notification settings - Fork 134
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
[#1114] feat: introduce hdfs host as the total_hadoop_write_data metric label #1107
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1107 +/- ##
============================================
+ Coverage 54.10% 55.48% +1.38%
- Complexity 2547 2562 +15
============================================
Files 386 368 -18
Lines 21901 19635 -2266
Branches 1815 1826 +11
============================================
- Hits 11850 10895 -955
+ Misses 9352 8106 -1246
+ Partials 699 634 -65
... and 40 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Should we create an issue for this pr? |
Done |
ptal @jerqi |
I'm not familiar with |
@@ -125,7 +126,7 @@ public class ShuffleServerMetrics { | |||
public static Counter.Child counterTotalReadTime; | |||
public static Counter.Child counterTotalFailedWrittenEventNum; | |||
public static Counter.Child counterTotalDroppedEventNum; | |||
public static Counter.Child counterTotalHadoopWriteDataSize; | |||
public static Counter counterTotalHadoopWriteDataSize; |
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.
would you move this field to L162 - L165, and grouped together?
public static Counter counterRemoteStorageTotalWrite;
public static Counter counterRemoteStorageRetryWrite;
public static Counter counterRemoteStorageFailedWrite;
public static Counter counterRemoteStorageSuccessWrite;
LGTM, except one minor 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.
LGTM.
What changes were proposed in this pull request?
Introduce the hdfs host as the total_hadoop_write_data metric label
Why are the changes needed?
We will write apps of different businesses apps into different HDFS.
For further iterative optimization, we need to expose the write capacity of
different HDFS to evaluate the total write capacity of different business lines.
Does this PR introduce any user-facing change?
Yes. More metrics are exposed.
How was this patch tested?