Skip to content
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

feat(common): add tracing for the LRO polling loop #7615

Merged
merged 2 commits into from
Nov 17, 2021

Conversation

devbww
Copy link
Contributor

@devbww devbww commented Nov 17, 2021

Get a little visibility into the LRO polling loop in the tracing
log, most notably to see how long we are waiting between polls.

Part of #7562. The issue looks important, and after failing to
diagnose the problem from the two occurrences we've seen so far,
and failing to reproduce it, the next best thing is to try to
get a little bit more data when it happens again.

And also to that end, add a timestamp to the beginning of each
of the Spanner samples.


This change is Reviewable

Get a little visibility into the LRO polling loop in the tracing
log, most notably to see how long we are waiting between polls.

Part of googleapis#7562.  The issue looks important, and after failing to
diagnose the problem from the two occurrences we've seen so far,
and failing to reproduce it, the next best thing is to try to
get a little bit more data when it happens again.

And also to that end, add a timestamp to the beginning of each
of the Spanner samples.
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 17, 2021
@google-cloud-cpp-bot
Copy link
Collaborator

Google Cloud Build Logs
For commit: 009e315e33bef505e3fef3f87def9c4ecd66e6c0

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@codecov
Copy link

codecov bot commented Nov 17, 2021

Codecov Report

Merging #7615 (b375d9f) into main (6d0888e) will increase coverage by 0.01%.
The diff coverage is 66.90%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #7615      +/-   ##
==========================================
+ Coverage   95.25%   95.26%   +0.01%     
==========================================
  Files        1254     1254              
  Lines      113231   113201      -30     
==========================================
- Hits       107857   107845      -12     
+ Misses       5374     5356      -18     
Impacted Files Coverage Δ
google/cloud/spanner/samples/samples.cc 63.13% <64.66%> (+0.14%) ⬆️
google/cloud/internal/async_polling_loop.cc 100.00% <100.00%> (ø)
.../cloud/storage/benchmarks/throughput_experiment.cc 74.37% <0.00%> (-0.51%) ⬇️
...le/cloud/storage/internal/curl_download_request.cc 89.25% <0.00%> (-0.38%) ⬇️
google/cloud/pubsub/samples/samples.cc 92.10% <0.00%> (+0.07%) ⬆️
google/cloud/bigtable/internal/common_client.cc 97.14% <0.00%> (+1.42%) ⬆️
google/cloud/storage/internal/curl_handle.h 82.85% <0.00%> (+2.85%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d0888e...b375d9f. Read the comment docs.

@google-cloud-cpp-bot
Copy link
Collaborator

Google Cloud Build Logs
For commit: b375d9f35dbd6950f565fa6e9262548d53d3a7ad

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@devbww devbww marked this pull request as ready for review November 17, 2021 05:21
@devbww devbww requested a review from a team as a code owner November 17, 2021 05:21
@devbww devbww merged commit dd6522d into googleapis:main Nov 17, 2021
@devbww devbww deleted the polling-policy branch November 17, 2021 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants