CNCF On-Demand: Introduction to OpenTelemetry Kotlin

Video by CNCF [Cloud Native Computing Foundation] via YouTube
CNCF On-Demand: Introduction to OpenTelemetry Kotlin

In this session, Jamie Lynch (senior software engineer at Embrace and a maintainer in the OpenTelemetry Kotlin SIG) introduces OpenTelemetry Kotlin, a Kotlin Multiplatform implementation of the OpenTelemetry specification. With it, developers can now capture telemetry on various platforms, including JVM, Android, iOS, and JavaScript, using a consistent Kotlin API. The new Kotlin SDK has two modes of operation: compatibility mode, which wraps OpenTelemetry Java, and implementation mode, which uses Kotlin Multiplatform.

Jamie also covers a step-by-step guide on setting up the Kotlin SDK, instrumenting an application with traces and logs, and exporting telemetry data.

The OpenTelemetry Kotlin project is new, and Jamie encourages the CNCF community to contribute, whether through code, feedback, or documentation, to stabilize and enhance the SDK. He shares the priorities for the Kotlin SIG, including stabilizing the logging and tracing APIs and developing instrumentation for widely-used libraries like Ktor.

You can help the OpenTelemetry Kotlin project by:
* Trying the project in your app and giving feedback
* Joining the #otel-kotlin channel in the CNCF slack
* Giving feedback at https://github.com/open-telemetry/opentelemetry-kotlin/issues
* Writing code or documentation that helps progress the implementation

Source