Skip to content

elastic/apm-agent-android

Repository files navigation

apm-agent-android

Note

This agent is based on the OpenTelemetry Android lib which is not stable yet. Elastic is proactively making contributions to this OpenTelemetry initiative and we will release v1.x of the Elastic Android APM agent after a stable release of the OTel Android SDK/API becomes available.

Elastic APM Android Agent

See the documentation for setup and configuration details.

Documentation

To build the documentation for this project you must first clone the elastic/docs repository. Then run the following commands:

# Set the location of your repositories
export GIT_HOME="/<fullPathTYourRepos>"

# Build the Android Agent documentation
$GIT_HOME/docs/build_docs --doc $GIT_HOME/apm-agent-android/docs/index.asciidoc --chunk 1 --open

Local testing

In order to use a local version of this agent you'll need to publish it locally into your machine's maven local repo. In order to do that, simply open up a terminal in this project's root dir and run: ./gradlew publishToMavenLocal. After that, you can apply this agent into an Android application project by following the "Set up" process defined here.