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-9466 implement persistence and payload retries #8

Closed richardelms closed 1 year ago

richardelms commented 1 year ago

Goal

Storage will be to plain JSON files in the app cache directory under a bugsnag-performance directory.

Each delivery payload will be stored in its own json file.

Any payload older than 24 hours will be deleted without being sent.

Persisted payloads will be sent in the order they were stored (oldest first), and delivery will be triggered when BugsnagPerformance.start is called or payload is successfully sent.

Changes

Testing

Added new E2E tests for trace persistance and MaxPersistedBatchAgeSeconds.