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

Automatic coroutine OTel Context propagation #239

Open
LikeTheSalad opened this issue Feb 2, 2024 · 0 comments
Open

Automatic coroutine OTel Context propagation #239

LikeTheSalad opened this issue Feb 2, 2024 · 0 comments

Comments

@LikeTheSalad
Copy link
Contributor

There's some work needed to be done to properly propagate an OTel Context across a coroutine and its coroutine-context changes. This would involve having to change the way every Kotlin coroutine is launched in the project so that it checks for an existing OTel Context (if any) and then proceeds to transform it into part of the newly launched coroutine's context.

We can automate this with bytecode instrumentation, so this issue is to work on an auto-instrumentation that takes care of it so that users wouldn't have to change the way they launch coroutines.

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

No branches or pull requests

1 participant