getsentry / team-mobile

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

[EPIC] Tag spans if they contribute to TTID / TTFD #155

Open markushi opened 1 year ago

markushi commented 1 year ago

Idea: Identify spans as TTID or TTFD contributing spans to narrow down which spans actively contribute to screen load times.

See Notion doc for details: https://www.notion.so/sentry/Data-Requirements-b4f616bac8bc449096a765f915e0a209?p=9b5a0979a81645789db6877593729cf4&pm=s

### Tasks
- [ ] https://github.com/getsentry/sentry-java/issues/3252
philipphofmann commented 1 year ago

The screen load transactions should already contain all the information to determine which spans contribute to TTID/TTFD. Do you think further changes are required, @markushi?

markushi commented 1 year ago

The screen load transactions should already contain all the information to determine which spans contribute to TTID/TTFD. Do you think further changes are required, @markushi?

In the advent of span-only I don't think we have a guarantee that all required spans will be sent over in a single txn. Thus it could make sense to calculate those two fields on the SDK side.

@shruthilayaj what do you think about this?