bugsnag / bugsnag-unity-performance

Monitor the start-up, scene loading and network requests of your Unity game and see the results in your BugSnag dashboard.
https://docs.bugsnag.com/performance/integration-guides/unity
MIT License
1 stars 2 forks source link

PLAT-12127 add traceid to error events #112

Closed richardelms closed 4 months ago

richardelms commented 5 months ago

NOTE

This PR is part of work connected to the Unity Notifier, the sister PR can be found here: https://github.com/bugsnag/bugsnag-unity/pull/801

Please do not review this PR without also reviewing the other

Goal

Provide access to the unity notifier so that when a C# layer error occurs, it can get the current span context and include it in the event report.

Changeset

Added GetPerformanceState method in BugsnagPerformance that can be accessed via reflection.

Testing

Manually tested E2E Tests will be added in a later task