Supported technologies

edit

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

The Elastic APM Android agent is built on top of the OpenTelemetry Java SDK — extending its functionality while also automatically instrumenting various APIs and frameworks. This section lists all supported technologies.

Android Gradle Plugin versions

edit
Supported versions

>= 7.4.0

Android runtime versions

edit
Supported versions

API >= 24

If your minSdk version is lower than 26, then you must add Java 8+ desugaring support to your application.

Languages

edit

The Java version is for the supported JDK, which is aligned with the JDK version supported by the Android Gradle plugin. The Kotlin version refers to the Kotlin gradle plugin versions, also aligned with the versions supported by the Android Gradle plugin.

Language Supported versions

Java

11

Kotlin

1.8+

UI frameworks

edit
Class Notes Since

Activity

Comes from the Android SDK

0.1.0

Fragment

Comes from the Android Jetpack tools

0.1.0

Networking frameworks

edit

Distributed tracing will only work if you are using one of the supported networking frameworks.

For the supported HTTP libraries, the agent automatically creates spans for outgoing HTTP requests and propagates tracing headers. The spans are named after the schema <method> <host>, for example GET elastic.co.

Framework Supported versions Note Since

OkHttp

3.11+

OkHttp-managed threads and Kotlin coroutine related calls are automatically traced. Calls from tools using OkHttp (such as Retrofit) are automatically traced as well.

0.1.0