Skip to content

fix(apm): Continuation of a trace from another span should use its span id as the parent span id - #572

Merged
untitaker merged 5 commits into
masterfrom
fix-from_traceparent
Dec 4, 2019
Merged

untitaker merged 5 commits into
masterfrom
fix-from_traceparent

Conversation

@dashed

@dashed dashed commented Dec 4, 2019 •

Copy link
Copy Markdown
Member

Correction based on what I see on the JS SDK:

https://github.com/getsentry/sentry-javascript/blob/01cac4ff6c09d7cf4b5e9d6cf595b095a8d036f3/packages/apm/src/span.ts#L202-L207


The incorrect mapping (red arrows) I found from my local development. The blue arrow is the supposedly correct mapping.

Screen Shot 2019-12-03 at 11 04 51 PM copy

TODO

  • test?

@dashed
dashed requested a review from untitaker December 4, 2019 04:09
@dashed dashed self-assigned this Dec 4, 2019
@dashed dashed changed the title fix(apm): Continuation of a trace from another span should use its span id as a parent span id fix(apm): Continuation of a trace from another span should use its span id as the parent span id Dec 4, 2019
@untitaker
untitaker merged commit 5c94499 into master Dec 4, 2019
@untitaker

Copy link
Copy Markdown
Member

Thx

@untitaker
untitaker deleted the fix-from_traceparent branch December 4, 2019 12:35
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.

2 participants