OpenTelemetry has accepted a Kotlin Multiplatform (KMP) API and SDK contribution from Embrace, a CNCF member company. The new SDK addresses limitations of relying on the Java SDK for Kotlin projects, particularly for non-JVM targets like iOS and JavaScript. It supports two modes: Compatibility Mode (interoperating with the existing Java SDK for Android/JVM users) and Regular Mode (a native Kotlin implementation for non-JVM targets). The contribution is designed to handle mobile and client-side constraints such as intermittent connectivity, battery limits, and asynchronous execution models, while conforming to the OpenTelemetry specification. Currently, Tracing and Logging APIs are implemented, with further development guided by community feedback.

5m read timeFrom devops.com
Post cover image
Table of contents
Kotlin MultiplatformObservability = Workflows + Context + OutcomesThe Kotlin SDK ContributionThe Road Ahead

Sort: