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

Properly track causality of kotlin suspend functions #1168

Merged
merged 17 commits into from
Sep 9, 2020
Merged

Properly track causality of kotlin suspend functions #1168

merged 17 commits into from
Sep 9, 2020

Conversation

johnbley
Copy link
Member

@johnbley johnbley commented Sep 3, 2020

Fix propagation/causality when kotlin suspend functions are used, by adding instrumentation specific to the kotlin coroutine system.

Introduce new instrumentation to capture kotlin suspended coroutines
and track/update Context appropriately.  Add high-concurrency test
showing the issue and that it is solved.
@johnbley johnbley marked this pull request as ready for review September 3, 2020 23:49
Copy link
Contributor

@anuraaga anuraaga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Required updating a few kotlin-y things to latest version to properly resolve the jvm
variant of their new multiplatform stuff.
@anuraaga anuraaga merged commit 030e9fe into open-telemetry:master Sep 9, 2020
@trask
Copy link
Member

trask commented Sep 9, 2020

❤️

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.

None yet

4 participants