This repository has been archived by the owner on Mar 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 109
Implement metric and log lines when a Bigtable request times out, per x-client-id #763
Merged
Conversation
This file contains 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
sming
changed the title
WIP BT timeout logging and metrics
🚨 DRAFT 🚨 Implement metric and log lines when a Bigtable request times out, per x-client-id
Mar 1, 2021
Codecov Report
@@ Coverage Diff @@
## master #763 +/- ##
============================================
- Coverage 55.14% 55.10% -0.05%
- Complexity 3163 3164 +1
============================================
Files 748 749 +1
Lines 20395 20427 +32
Branches 1339 1341 +2
============================================
+ Hits 11247 11256 +9
- Misses 8661 8683 +22
- Partials 487 488 +1
Continue to review full report at Codecov.
|
sming
commented
Mar 2, 2021
@@ -378,7 +378,7 @@ public void filterTest() throws Exception { | |||
private void retrySome(final ThrowingRunnable action) throws Exception { | |||
AssertionError error = null; | |||
|
|||
for (int i = 0; i < 10; i++) { | |||
for (int i = 0; i < 50; i++) { |
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.
Note for reviewers: this was timing out in CI so I increased. This won't be any slower, it's just more permissive.
sming
changed the title
🚨 DRAFT 🚨 Implement metric and log lines when a Bigtable request times out, per x-client-id
Implement metric and log lines when a Bigtable request times out, per x-client-id
Mar 2, 2021
malish8632
approved these changes
Mar 3, 2021
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
We need to know how many requests are hitting Bigtable timeouts per x-client-id
Proposed Solution
Design & Implementation Notes
nothing unusual. Just added :
query-metrics-client-id-count-playerapp-timeout
"bigtable-query-timeout...