-
Notifications
You must be signed in to change notification settings - Fork 153
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
[#2298] fix(server): Correct the metric of grpc_get_local_shuffle_data_process_latency #2299
Conversation
…le_data_process_latency
GetLocalShuffleDataResponse.newBuilder() | ||
.setStatus(status.toProto()) | ||
.setRetMsg(msg) | ||
.setData(UnsafeByteOperations.unsafeWrap(sdr.getData())) |
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.
the operation of sdr.getData()
will cost too much time, so it should be scoped into the metrics recording
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.
Got it.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2299 +/- ##
============================================
+ Coverage 52.27% 52.34% +0.07%
+ Complexity 3569 3362 -207
============================================
Files 543 513 -30
Lines 29797 27584 -2213
Branches 2779 2593 -186
============================================
- Hits 15575 14439 -1136
+ Misses 13227 12205 -1022
+ Partials 995 940 -55 ☔ View full report in Codecov by Sentry. |
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.
…ocal_shuffle_data_process_latency apache#2299
…a_process_latency (#2299) ### What changes were proposed in this pull request? Correct the metric of grpc_get_local_shuffle_data_process_latency ### Why are the changes needed? fix #2298 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Needn't Co-authored-by: Junfan Zhang <zhangjunfan@qiyi.com>
What changes were proposed in this pull request?
Correct the metric of grpc_get_local_shuffle_data_process_latency
Why are the changes needed?
fix #2298
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Needn't