RUM initial setup for custom applications

Monitoring data sent via Dynatrace OpenKit is encapsulated into an entity that represents your application and is called custom application. Therefore, to monitor your application, you need to define and instrument the custom application following the instructions below.

To create a custom application in Dynatrace and instrument it

  1. In Dynatrace, go to Custom Applications.
  2. Select Create custom application.
  3. Enter a name for your custom application, and choose an icon to visually represent your application in the Dynatrace web UI.
  4. Select Monitor custom application. Your custom application settings page opens.
  5. From the application settings, select Instrumentation wizard and then select your technology to download the latest OpenKit library.
  6. Use the downloaded library and the Beacon URL and Application ID provided in the instrumentation wizard to instrument your application.
  7. optional In the instrumentation wizard, select View incoming beacons to show incoming beacons as they arrive, with only a couple of seconds delay. This view also provides information about potential issues.

Below is a basic example that shows how to use Dynatrace OpenKit to send monitoring data to Dynatrace. For more details, see Dynatrace OpenKit API methods.

You can find your application ID and the endpoint URL in the instrumentation wizard (from your application settings, select Instrumentation wizard).

For custom applications, user identification is achieved by passing deviceID, which should be unique for each user or device. Then deviceID is marked as the Internal user ID in the Dynatrace web UI.

After creating a custom application in Dynatrace and instrumenting your actual application with OpenKit, check the pages below to customize and troubleshoot the instrumentation.

Once your custom application starts sending monitoring data to Dynatrace, you can analyze this data just like you do for any other application. For example, you can examine user sessions, check user experience metrics, analyze web requests, view crash reports, and more.

The image below shows the overview page of our test custom application.

Custom application overview page