-
Notifications
You must be signed in to change notification settings - Fork 275
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
Add additional log to track unsatisfied requests #1372
Conversation
Print out more info of unsatisfied requests for investigation.
Codecov Report
@@ Coverage Diff @@
## master #1372 +/- ##
===========================================
+ Coverage 71.98% 72% +0.02%
- Complexity 6756 6758 +2
===========================================
Files 486 486
Lines 38353 38371 +18
Branches 4879 4883 +4
===========================================
+ Hits 27609 27630 +21
+ Misses 9410 9408 -2
+ Partials 1334 1333 -1
Continue to review full report at Codecov.
|
*/ | ||
private void logUnsatisfiedRequest(Map<PerformanceIndex, Long> requestPerfToCheck) { | ||
StringBuilder sb = new StringBuilder(); | ||
sb.append("Unsatisfied request: ").append(request.getUri()).append(" method=").append(request.getRestMethod()); |
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.
"; method="
and say uri=request.getUri() to match the other key value pairs
sb.append("; blob size=").append((String) blobSize); | ||
} | ||
for (Map.Entry<PerformanceIndex, Long> entry : requestPerfToCheck.entrySet()) { | ||
sb.append("; ").append(entry.getKey().toString()).append(": ").append(entry.getValue()); |
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.
change ": "
to "="
to match other key value pairs
Print out more info of unsatisfied requests for investigation.