-
-
Notifications
You must be signed in to change notification settings - Fork 40
Use Hub.getSpan instead of Sentry.getSpan #535
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
Conversation
|
| } | ||
| */ | ||
| protected fun MethodVisitor.visitStartSpan( | ||
| attachToRoot: Boolean, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we need this flag. But in theory we could always attach the room spans to the root and the sqlite spans to the last active span
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I think I'd just do that without the flag
.../src/main/kotlin/io/sentry/android/gradle/instrumentation/AbstractSpanAddingMethodVisitor.kt
Outdated
Show resolved
Hide resolved
|
Closing as |
📜 Description
Switch from
Sentry.getSpan()toHubAdapter.getInstance().getTransaction() / getSpan()eventually.💡 Motivation and Context
getsentry/sentry-java#2855
getsentry/sentry-java#1828
💚 How did you test it?
📝 Checklist
🔮 Next steps