-
Notifications
You must be signed in to change notification settings - Fork 0
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
Emit transaction.data
inside contexts.trace.data
#95
Comments
Example usage for this in Python is: with scope.start_transaction(name="hello"):
span_or_tx = sentry_sdk.get_current_span()
span_or_tx.set_data("foo", "bar") |
I checked for JS and we don't set (Fwiw, in JS we no longer have |
@Lms24 yes, that's the right way. We expect root span data (i.e. span data of the transaction) to be placed into There is no |
In some SDKs, transactions are inherited from span and, therefore, have a data property. The change we need to make is to attach this data to the |
@Lms24 From which JS SDK version is |
As far as I know from both versions. I don't recall making any changes there for v8 |
Capacitor should be marked as ok since it relies on the JavaScript SDK for that. I will double-check the Cordova one |
@cleptric |
Please move it, extra should not be used by SDKs anymore. |
@cleptric Could you clarify what is meant by this? Does this mean we should remove |
We can keep any |
Finished checking Cordova and the data is correctly set. |
We need to ensure that
transaction.data
is sent ascontexts.trace.data
so we can also attach/extract metrics from transaction data.SDKs
transaction.data
insidecontexts.trace.data
sentry-dart#2257transaction.data
insidecontexts.trace.data
sentry-java#3626transaction.data
insidecontexts.trace.data
sentry-cocoa#4248transaction.data
insidecontexts.trace.data
sentry-react-native#4011transaction.data
insidecontexts.trace.data
sentry-native#1074The text was updated successfully, but these errors were encountered: