opentelemetry-java-instrume.../instrumentation/kotlinx-coroutines
Lauri Tulmin cbc616cbff
Fix kotlin coroutine context propagation (#7879)
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7837
`org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1` adds a second
`newCoroutineContext` that we shouldn't instrument. When we instrument
it the order of
[`KotlinContextElement`](https://github.com/open-telemetry/opentelemetry-java/blob/main/extensions/kotlin/src/main/java/io/opentelemetry/extension/kotlin/KotlinContextElement.java)
and user added `ThreadContextElement` gets reversed. If user added
`ThreadContextElement` changes opentelemetry context then these changes
will get overwritten by `KotlinContextElement`.
2023-02-24 12:31:43 +02:00
..
javaagent Fix kotlin coroutine context propagation (#7879) 2023-02-24 12:31:43 +02:00
README.md Introduce markdown lint check (#7175) 2022-11-16 20:48:42 -08:00

README.md

Kotlin Coroutines

Kotlin coroutine library instrumentation is located at https://github.com/open-telemetry/opentelemetry-java/tree/main/extensions/kotlin