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(storage): trace span covers life of a Reader #8390

Merged
merged 3 commits into from
Aug 10, 2023

Conversation

tritone
Copy link
Contributor

@tritone tritone commented Aug 7, 2023

Make the tracing span created in NewRangeReader cover the entire lifecycle of the Reader. NewRangeReader returns before the data transfer is complete, so it's more useful to track the entire period until the Reader is closed.

NewRangeReader is still tracked with a span at the level of individual transports (HTTP and gRPC).

Make the tracing span created in NewRangeReader cover the entire
lifecycle of the Reader. NewRangeReader returns before the
data transfer is complete, so it's more useful to track the
entire period until the Reader is closed.

NewRangeReader is still tracked with a span at the level of
individual transports (HTTP and gRPC).
@tritone tritone requested review from a team as code owners August 7, 2023 20:58
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: storage Issues related to the Cloud Storage API. labels Aug 7, 2023
storage/reader.go Outdated Show resolved Hide resolved
Copy link
Member

@quartzmo quartzmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tritone tritone added the automerge Merge the pull request once unit tests and other checks pass. label Aug 10, 2023
@gcf-merge-on-green gcf-merge-on-green bot merged commit 8de30d7 into googleapis:main Aug 10, 2023
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Aug 10, 2023
@tritone tritone deleted the reader-trace branch August 10, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants