-
Notifications
You must be signed in to change notification settings - Fork 53
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
fix: httpjson callables to trace attempts (started, failed) #3300
Merged
Merged
Changes from 11 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
6635019
add test to confirm tracer attempts failed
diegomarquezp 944e8d6
simplify test for retries
diegomarquezp 1edf557
Merge remote-tracking branch 'origin/main' into fix-httpjson-retry-me…
diegomarquezp 4db1d2b
extend tracer tests to every test
diegomarquezp 9ab23d5
fix test vars initialization
diegomarquezp 6364aab
add retrial exhaustion check
diegomarquezp ae1eb44
Merge branch 'main' into fix-httpjson-retry-metrics
diegomarquezp 1ebc3a2
restore ApiException expected in test
diegomarquezp 25e778f
Merge branch 'fix-httpjson-retry-metrics' of https://github.com/googl…
diegomarquezp b363a29
enable Disabled ITs
diegomarquezp 5c11e10
try fixing multipleattempts test
diegomarquezp 9b48dbe
Merge branch 'main' into fix-httpjson-retry-metrics
diegomarquezp c8e8a7d
fix multiple attempts httpjson test (thanks @lqiu96)
diegomarquezp af3adb5
Merge remote-tracking branch 'refs/remotes/origin/fix-httpjson-retry-…
diegomarquezp 035be17
extract tracer factory to its own method
diegomarquezp 8e2a58a
add comments
diegomarquezp 8f3331e
Merge branch 'fix-httpjson-retry-metrics' of https://github.com/googl…
diegomarquezp f647320
Merge remote-tracking branch 'origin/main' into fix-httpjson-retry-me…
diegomarquezp 2df2e9f
licence
diegomarquezp e7bc1c3
formalize tests
diegomarquezp e2385ad
rename vars, extend ApiTracer
diegomarquezp 58e874a
move initialization to contained class
diegomarquezp 87f807a
fix order of methods
diegomarquezp e57b4db
remove retries exhausted
diegomarquezp 58a0daa
Revert "remove retries exhausted"
diegomarquezp 325eba4
record attempt failed when retries are exhausted
diegomarquezp 2120960
adjust retries count in retryingtest
diegomarquezp 0630fdf
Merge branch 'main' into fix-httpjson-retry-metrics
diegomarquezp 9697e8a
empty commit to retry tests
diegomarquezp 065b01f
remove flaky tests
diegomarquezp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
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.
qq, isn't the last one also considered a failed attempt? Why is the tracerAttemptsFailed != tracerAttempts?
Also, can we add the operationfailed == true check here as well?
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.
I'm not sure and I agree they should be the same value since this test just fetches an exception until it can't retry anymore (retries exhausted).
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.
from discussion with @blakeli0, @lqiu96 and @zhumin8, let's double check
TestApiTracer
, confirm with showcase.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.
showcase has another tracer we can use to cross check
TestApiTracer