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

fix wrong context in integration callbacks #121

Merged
merged 1 commit into from
May 30, 2018
Merged

Conversation

rochdev
Copy link
Member

@rochdev rochdev commented May 25, 2018

This PR fixes a context propagation issue that affects most integrations. Basically the callbacks after a request/query is finished would end up in the context of the request/query span. This would cause any span created thereafter to end up as a child of that span, even though the span is finished.

The expected behavior is that any span created after should be on the same level and not as a child, which this PR addresses.

@rochdev rochdev added bug Something isn't working integrations labels May 25, 2018
@rochdev rochdev added this to the 0.2.1 milestone May 25, 2018
@rochdev rochdev merged commit 678b49b into v0.2.1 May 30, 2018
@rochdev rochdev deleted the callback-context branch May 30, 2018 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants