Skip to content

feat(storage): trace span covers life of a Reader#8390

Merged
gcf-merge-on-green[bot] merged 3 commits intogoogleapis:mainfrom
tritone:reader-trace
Aug 10, 2023
Merged

feat(storage): trace span covers life of a Reader#8390
gcf-merge-on-green[bot] merged 3 commits intogoogleapis:mainfrom
tritone:reader-trace

Conversation

@tritone
Copy link
Copy Markdown
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 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
Comment thread storage/reader.go Outdated
Copy link
Copy Markdown
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