Embrace has contributed a Kotlin Multiplatform (KMP) API and SDK to the OpenTelemetry project, which has been officially accepted. The SDK addresses limitations of relying on the Java SDK for Kotlin apps, particularly for non-JVM targets like iOS and JavaScript. It supports two modes: Compatibility Mode (interoperating with the Java SDK) and Regular Mode (native Kotlin implementation). The project currently covers Android, JVM, iOS, and JavaScript targets, with Tracing and Logging APIs implemented. It is designed to handle mobile-specific constraints like intermittent connectivity, limited resources, and asynchronous execution models. The Kotlin SIG is actively developing the project under CNCF governance, with plans to stabilize APIs, improve exporters, and expand platform coverage.
Table of contents
Why Kotlin Matters in the OpenTelemetry EcosystemMobile and Client-Side Observability Have Different Constraints than Backend SystemsThe Kotlin SDK ContributionCurrent State of the ProjectWhy This Matters for the OpenTelemetry and Cloud Native EcosystemsWhere the Project Is GoingToward End-to-End Observability Across PlatformsHow To Get InvolvedSort: