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

Add instrumentation for opentelemetry-extension-kotlin #7341

Merged
merged 3 commits into from
Dec 6, 2022

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Nov 29, 2022

Hopefully resolves #7124
Our kotlin coroutine instrumentation relies on a shaded copy of opentelemetry-extension-kotlin. This doesn't work well when application also uses opentelemetry-extension-kotlin, because the shaded and unshaded copy store opentelemery context under different key. This pr attempts to fix this by instrumenting opentelemetry-extension-kotlin provided by the application so that it would delegate to the one shaded inside the agent.

@laurit laurit requested a review from a team November 29, 2022 21:42
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

nice 😅👍

@trask trask merged commit 278f797 into open-telemetry:main Dec 6, 2022
@laurit laurit deleted the opentelemetry-extension-kotlin branch July 6, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants