We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sentry-opentelemetry-core
17
8.0.0-rc.2
sentry-samples-console-opentelemetry-noagent
makeCurrent
ITransaction lostTransaction = Sentry.startTransaction("lost transaction", "op"); System.gc(); lostTransaction.finish();
Transaction is sent to sentry
Transaction is not sent to sentry, because of a WeakReference to an OtelSpan in OtelSpanWrapper, which is garbage collected if not bound to scope
WeakReference
OtelSpan
OtelSpanWrapper
The text was updated successfully, but these errors were encountered:
Already fixed with PR above.
Sorry, something went wrong.
No branches or pull requests
Integration
sentry-opentelemetry-core
Java Version
17
Version
8.0.0-rc.2
Steps to Reproduce
sentry-samples-console-opentelemetry-noagent
sample or setup OTEL without agent in a simple java console applicationmakeCurrent
Expected Result
Transaction is sent to sentry
Actual Result
Transaction is not sent to sentry, because of a
WeakReference
to anOtelSpan
inOtelSpanWrapper
, which is garbage collected if not bound to scopeThe text was updated successfully, but these errors were encountered: