/Dynatrace-Docker

The home of Dockerized components of the Dynatrace Application Monitoring enterprise solution.

Primary LanguageShellMIT LicenseMIT

Docker Logo

Dynatrace-Docker

The home of Dockerized components of the Dynatrace Application Monitoring enterprise solution. All components are available on the Docker Hub.

What is Dynatrace?

Dynatrace Application Monitoring, with its PurePath technology, is the world's leading application monitoring solution - trusted by more than 7500 customers around the globe. It supports all your major technology stacks and integrates into your Continuous Delivery pipelines to allow you to build world-class, high-quality software.

How to install Dynatrace?

You can quickly bring up an entire Dockerized Dynatrace environment by using Docker Compose with any of the provided docker-compose.yml files like so:

git clone https://github.com/Dynatrace/Dynatrace-Docker.git
cd Dynatrace-Docker
docker-compose up

Licensing

The example above leaves your Dynatrace environment without a proper license. However, you can conveniently have a license provisioned at container runtime by specifying a URL to a Dynatrace License Key File in the DT_SERVER_LICENSE_KEY_FILE_URL environment variable. If you don't happen to have a web server available to serve the license file to you, Netcat can conveniently serve it from your command line, exactly once, via nc -l 1337 < dtlicense.key, where 1337 is an available port on your local machine. A sudo may be required depending on which port you eventually decide to choose.

git clone https://github.com/Dynatrace/Dynatrace-Docker.git
cd Dynatrace-Docker
DT_SERVER_LICENSE_KEY_FILE_URL=http://$YOUR_IP:1337 docker-compose up

See the following Dockerized Dynatrace components for more information:

Licensing

In the example above, you have to let DT_SERVER_LICENSE_KEY_FILE_URL point to a valid Dynatrace License Key file. If you don't have a license yet, you can obtain a Dynatrace Free Trial License here. However, you don't need to have your license file hosted by a server: if you can run a console, Netcat can conveniently serve it for you on port 80 via sudo nc -l 80 < dtlicense.key.

How to Monitor your Dockerized Application?

See the following integrations for more information:

Dockerized Application

How to Monitor your Docker Containers?

Want to see all your Docker Metrics in one place? See the Dynatrace Docker Monitor Plugin for more information.

Docker Monitor Plugin

Resource Requirements

When running Docker on Windows or a Mac via the Docker Toolbox, make sure your Docker Machine has sufficient resources available to run Dynatrace AppMon together with your Dockerized application:

  1. Stop the Docker Machine in VirtualBox

Power off Docker Machine

  1. Give your Docker Machine at least 2 CPUs

Configure Docker Machine CPUs

  1. Give your Docker Machine at least 4 GB of RAM

Configure Docker Machine RAM

  1. Finally, start your Docker Quickstart Terminal for the changes to take effect.

Problems? Questions? Suggestions?

This offering is Dynatrace Community Supported. Feel free to share any problems, questions and suggestions with your peers on the Dynatrace Community's Application Monitoring & UEM Forum.

License

Licensed under the MIT License. See the LICENSE file for details. analytics