-
Notifications
You must be signed in to change notification settings - Fork 433
feat(storage): Link traces between Open and ReadRange traces. #15236
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15236 +/- ##
==========================================
- Coverage 92.93% 92.93% -0.01%
==========================================
Files 2394 2394
Lines 215352 215384 +32
==========================================
+ Hits 200132 200160 +28
- Misses 15220 15224 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
scotthart
left a comment
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.
Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion
google/cloud/storage/internal/async/object_descriptor_connection_tracing_test.cc line 134 at r1 (raw file):
SpanWithStatus(opentelemetry::trace::StatusCode::kOk), SpanHasInstrumentationScope(), SpanKindIsClient(), SpanHasEvents(
SpanHasEvents calls testing::IsSuperSetOf which is an unordered matcher. In order to model a parent-child relationship between spans, the order of the spans is salient. Instead of SpanHasEvents useSpanEventsAre which calls testing::ElementsAre which is an ordered matcher and verifies the parent-child relationship you're looking to achieve.
Done. |
scotthart
left a comment
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.
Reviewed 1 of 2 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @v-pratap)
Linked traces for Open and ReadRange calls and their tests.
This change is