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

Closed

Conversation

DoumanAsh
Copy link
Contributor

@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

@DoumanAsh
Copy link
Contributor Author

Closed because #686 already fixes

@DoumanAsh DoumanAsh closed this Oct 30, 2024
@DoumanAsh DoumanAsh deleted the tracing_span_to_tx_mapping branch October 30, 2024 09:48
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