The Elastic APM Android agent is built on top of the Open Telemetry Java SDK — extending its functionality while also automatically instrumenting various APIs and frameworks. This section lists all supported technologies.
Supported versions |
---|
>= 7.2.0 |
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.5+ |
Class | Notes | Since |
---|---|---|
Comes from the Android SDK |
0.1.0 |
|
Comes from the Android Jetpack tools |
0.1.0 |
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 |