Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: Allow Hybrid SDK to
setTrace
#4137New 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
feat: Allow Hybrid SDK to
setTrace
#4137Changes from all commits
c233756
d0f9805
c124eb1
ac7be23
46039a5
14ab70e
4a94bdd
ef20aae
461aa8a
b95088c
19c0eaa
d7316ea
3d99e63
b427553
82deae2
4152092
2af13de
cba1f4c
05147f9
cbe837c
9a10493
a589c3d
093e907
0682748
dc0a6d5
7447f11
68fea13
31c6718
2243841
d9d43ee
f8f097a
e6a7438
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Can we add an optional
Baggage
param here as well?I would assume we want to sync that between the SDKs as well.
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.
I don't see the need or benefit of doing that from the Unity SDK's perspective. @krystofwoldrich would this help RN?
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.
At the moment, I don't see why we would need Baggage synced as well.
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.
I believe we pass replayId via baggage to downstream services
Might need that on React Native (which has Replay)
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.
We don't need that because the ReplayID is generated on native and synced up to RN Replay Integration which adds it to DSC.
https://github.com/getsentry/sentry-react-native/blob/5dff5ee95fb4c3d8f2589b80d4d355fecde17778/packages/core/src/js/replay/mobilereplay.ts#L107
The traceID is the opposite, hybrid (RN) generates it and we need to sync it down to native.