Skip to content

Conversation

@lobsterkatie
Copy link
Member

@lobsterkatie lobsterkatie commented Oct 16, 2020

Currently, when trying to find the transaction on the scope (if any), we look for a span on the scope (which could be the transaction itself, or could be one of its descendants) and grab the first span in its span recorder. This works, but has the disadvantage that it can only find transactions with sampled = True, since transactions with sampled = False don't have a span recorder.

This changes the getter to use the current span's transaction pointer (added in #870) to find the transaction instead.

@HazAT HazAT changed the base branch from master to kmclb-add-tracessampler October 19, 2020 11:38
@HazAT HazAT changed the base branch from kmclb-add-tracessampler to master October 19, 2020 11:38
@lobsterkatie lobsterkatie changed the title [WIP] fix(tracing): Make unsampled transactions findable on the scope fix(tracing): Make unsampled transactions findable on the scope Oct 21, 2020
@lobsterkatie lobsterkatie force-pushed the kmclb-make-unsampled-transactions-findable branch from 22dc506 to 96ea210 Compare October 21, 2020 18:52
@lobsterkatie lobsterkatie merged commit 644bfa8 into master Oct 21, 2020
@lobsterkatie lobsterkatie deleted the kmclb-make-unsampled-transactions-findable branch October 21, 2020 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants