sentry-unity
sentry-unity copied to clipboard
feat: scene-load transctions based on SceneManagerAPI
See #235
This PR uses SceneManagerAPI which is only available in Unity 2020+
Samples: https://sentry.io/organizations/sentry-sdks/performance/summary/?project=5439417&query=transaction.duration%3A%3C15m&statsPeriod=24h&transaction=load-scene&unselectedSeries=p100%28%29
- [x] move to SentryInitialization.cs (or use reflection?)
- [ ] figure out if we can add the integration before the first scene starts loading
Messages | |
---|---|
:book: | Do not forget to update Sentry-docs with your feature once the pull request gets approved. |
Generated by :no_entry_sign: dangerJS against ac193c131d025e0b7d8908f1c16d30f411f77388
Maybe drop the "unity." prefix? Also, I've noticed the spans are missing names - what's the best practice in other SDKs?
https://sentry.io/organizations/sentry-sdks/performance/sentry-unity:4e44bacb819a4509ac4bb20b2c53d154/?project=5439417&query=transaction.duration%3A%3C15m&statsPeriod=30d&transaction=unity.runtime.startup&unselectedSeries=p100%28%29
![]()
Thanks for pointing that out.
Initially, I was a bit confused about the naming/description/operation of transactions and spans but the team came up with a scheme I think we can go with for now.