Deploy OneAgent for application-only monitoring

Dynatrace supports full-stack monitoring for Openshift, from the application down to the infrastructure layer. However, if you don't have access to the infrastructure layer, Dynatrace also provides the option of application-only monitoring. See below for instructions on how to set up Dynatrace to monitor your applications running on Openshift.

Prerequisites

Note: When deployed in application-only mode, OneAgent monitors only the memory of the processes within the container, not the total memory of the container.

Generate a PaaS token

The first step is to get your environment ID and PaaS token for your Dynatrace environment.

Integrate OneAgent into your application

The following options explain how to integrate OneAgent into a binary build with a Dockerfile.

Configure a proxy address (optional)

In case you run an environment with proxy, you need to set the DT_PROXY environment variable in the application container to pass the proxy credentials to OneAgent.

Note: You might need to update the wget shipped with the Alpine image to allow for proxy authentication for the download of OneAgent.