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-10770 add manual scene load and network request instrumentation #81

Closed richardelms closed 1 year ago

richardelms commented 1 year ago

Goal

add the following methods:

Span BugsnagPerformance.StartSceneSpan(string sceneName, SpanOptions spanOptions)

Span BugsnagPerformance.StartNetworkSpan(string url, HttpVerb verb, SpanOptions spanOptions)

Span.EndNetworkSpan(string statusCode, int requestContentLength, int responseContentLength)

Testing

Added new e2e tests