diff --git a/extensions/kotlin/README.md b/extensions/kotlin/README.md new file mode 100644 index 00000000000..3637e9e6e26 --- /dev/null +++ b/extensions/kotlin/README.md @@ -0,0 +1,12 @@ +# OpenTelemetry Kotlin Extension + +Kotlin [Extensions](src/main/kotlin/io/opentelemetry/extension/kotlin/ContextExtensions.kt) to propagate +OpenTelemetry context into coroutines. + +For example, you could do the following with coroutines + +```kotlin +launch(Context.current().asContextElement()) { +// trace ids propagated here +} +```