-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
tracing::Instrument::instrument
ed futures don't propagate to Sentry
#675
Comments
Conceptually, a Sentry As you mention |
I have noticed that, and there is the same thing in
Looking at the concepts of both projects, it looks like there is:
So I'm struggling to understand why the best mapping for a |
It seems that the
sentry_tracing
Layer
doesn't take into account theon_enter
event provided bytracing
forInstrumented
futures:sentry-rust/sentry-tracing/src/layer.rs
Line 153 in 8cc4848
This implies that Sentry scopes are not properly entered and exited as
tracing
scopes are entered/exited.It seems that the
Span
's existence andfinish
should be controlled by the existingon_new_span
/on_close
, but scope configuration should be tied toon_enter
/on_exit
instead of also being controlled byon_new_span
andon_close
.The text was updated successfully, but these errors were encountered: