-
Notifications
You must be signed in to change notification settings - Fork 821
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: allow recording links only at Span creation time #449
fix: allow recording links only at Span creation time #449
Conversation
@@ -41,7 +41,10 @@ function translateSpanOptions( | |||
startTime: options.startTime, | |||
}; | |||
|
|||
// because there's no `Links` in SpanOptions, we set them in `TracerShim.startSpan()` |
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.
@bg451 this change will make you (and everyone) very happy :)
Codecov Report
@@ Coverage Diff @@
## master #449 +/- ##
==========================================
- Coverage 95.32% 95.31% -0.02%
==========================================
Files 124 124
Lines 6166 6064 -102
Branches 505 509 +4
==========================================
- Hits 5878 5780 -98
+ Misses 288 284 -4
Continue to review full report at Codecov.
|
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.
LGTM
0331c3e
to
a2b91e7
Compare
Co-authored-by: vmarchaud <[email protected]>
Co-authored-by: vmarchaud <[email protected]>
Which problem is this PR solving?
Short description of the changes
Links will be recorded only during the start
Span
operation, because:SampledFlag
can be used in the sampling decision.Span
creation.