Get started with Android monitoring

To monitor your Android app, you first need to create a mobile application in Dynatrace and then instrument your actual Android app.

Step 1 Create a mobile application in Dynatrace

Before instrumenting your actual Android app, create a mobile application in Dynatrace. You will use this application to monitor and analyze your Android app.

To create a mobile application in Dynatrace

  1. In Dynatrace, go to Mobile.
  2. Select Create mobile app.
  3. Enter a name for your application and select Create mobile app. The application settings page opens.

Step 2 Instrument your Android app

When you have a mobile application in Dynatrace, instrument your actual Android app with the Dynatrace Android Gradle plugin or OneAgent SDK for Android.

Step 3 Fine-tune the instrumentation

After you've instrumented your Android app, you might want to configure some additional settings:

Access mobile instrumentation wizard

The mobile instrumentation wizard in Dynatrace provides you with get-started instructions on instrumenting your mobile applications. The wizard also contains code snippets with your application identification keys that you'll need to add to your project's build file. The application identification keys—applicationId and beaconUrl—are required so that your application can send monitoring data to Dynatrace.

  1. Go to Mobile.
  2. Select the mobile application that you want to configure.
  3. Select More () > Edit in the upper-right corner of the tile with your application name.
  4. From the application settings, select Instrumentation wizard.
  5. Select Android.