Skip to content
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

Refactoring tracing span activation/deactivation #700

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DoumanAsh
Copy link

@DoumanAsh DoumanAsh commented Oct 21, 2024

This is proposal how to improve tracing layer to handle concurrency better

This changes logic of transaction activation/deactivation from being tied to ctor/dtor and instead tied to enter/exit

The reason being is that if you have multiple transactions running concurrently, there is no way to distinguish for sentry this scenario as it just creates new child transaction every time parent is present

Partially Fixes #675

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tracing::Instrument::instrumented futures don't propagate to Sentry
1 participant