getsentry / team-mobile

Meta issues for the Mobile team
4 stars 1 forks source link

[EPIC] Support span level measurements #172

Open markushi opened 10 months ago

markushi commented 10 months ago

Context

According to our develop docs the span protocol supports measurements. The relay protocol definition includes measurements as well.

Up until now our SDKs set the measurement value on the root transaction instead of the span itself. We should change that to allow measurements on a span level. This will help us reporting slow + frozen frames, frame delay, etc.

### Tasks
- [ ] https://github.com/getsentry/sentry-javascript/issues/10398
- [ ] https://github.com/getsentry/sentry-react-native/issues/3566
- [ ] https://github.com/getsentry/sentry-cocoa/issues/3599
- [ ] https://github.com/getsentry/sentry-java/issues/3180
- [ ] https://github.com/getsentry/sentry-dart/issues/1855
- [ ] https://github.com/getsentry/sentry-capacitor/issues/562
markushi commented 10 months ago

I just briefly talked to @AbhiPrasad: This should definitely be doable, but some ingestion related topics (sampling, scrubbing) might not be fully setup by now.

Kinda related PR: https://github.com/getsentry/relay/pull/2969/files