-
-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enrich transactions with Scope and Device context #1234
Comments
@bruno-garcia @maciejwalkowiak @Tyrrrz @brustolin we need to discuss here which fields make sense to be part of a transaction or not. |
Well, now that the return of startTransaction is a span, this is kind decided, because the user has no access to transaction fields to changed it. But, I agree with Bruno that the Sentry Protocol UI should have all information about the app project. So, when transmitting the transaction, the easier solution is to create an Event that already capture project information and populate with the transaction missing information. |
@brustolin not really, this is more about all the data that the SDK sets automatically eg device context, scope's data, etc, so technically this is still not decided, I'd say that the best solution is, we want transactions to be as rich as an event, but we also want transactions to be cheap, so we don't want all the information (eg calculating app's device storage, available memory, etc) would be affecting device's memory footprint and the performance of the App/SDK itself quite a lot. |
SDKs that have a Transaction be literally a SentryEvent with Particularly on Android we have some lookups that aren't very cheap when we capture an event. We could make update these values in the background and have transactions include them while partially outdate (a few seconds) like storage for example? Or do we include it anyway? Or is it better to not include storage at all? That's what needs discussion mostly. |
yep, these are the trade-offs, and we have to talk about them. |
if we'd like to breakdown the |
Currently, in .NET we copy everything from the scope to the transaction. |
We might need to decide field per field, what makes or not sense setting in the transaction (compared to SentryEvent),
tags
should be merged as tags are indexed and searchable.Related issue #1163 (comment)
The text was updated successfully, but these errors were encountered: