-
Notifications
You must be signed in to change notification settings - Fork 31
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
PLAT-12127 add traceid to events #801
PLAT-12127 add traceid to events #801
Conversation
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
} | ||
|
||
Log("Parsing result to CorrelationTransfer"); | ||
var performanceState = JsonUtility.FromJson<PerformanceState>(result); |
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.
What happens if we ever have to change the structure of this for some reason? Would it gracefully handle the change, or would customers have to lockstep upgrade both the notifier and the performance library to avoid a crash?
I really think that we should version these kinds of cross-library interfaces so that we don't accidentally paint ourselves into a corner... |
NOTE
This PR is part of work connected to the Unity Notifier, the sister PR can be found here: bugsnag/bugsnag-unity-performance#112
Please do not review this PR without also reviewing the other
Goal
When a C# layer error occurs, get the current span context from the Unity Performance SDK and include it in the event report.
Changeset
Added PerformanceHelper class to get information from the Performance SDK if it is present.
Testing
Manually tested
E2E Tests will be added in a later task