Difficulty: Beginner
Estimated Time: 10 minutes

Distributed Tracing with APM Workshop

Welcome to the workshop! We'll be running a docker-compose command, allowing us to spin up an entire environment.

This workshop assumes you've created a Datadog account, and are following along with Datadog open in another browser.

A Datadog trial account should be enough to complete all steps in the workshop.

Distributed Tracing with Datadog

Step 1 of 7

Step 1

Starting Our Microservices with Docker Compose

This APM workshop uses multiple docker images in order to build a micro services environment for local development.

We can inspect the docker-compose.yml in the distributed tracing folder, and see the exact services we'll be running.

Let's first bring everything up with the following command:

DD_API_KEY=<api key> docker-compose up

If you get a error:

cannot send spans to agent:8126: [Errno -2] Name does not resolve

Make sure you entered your DD_API_KEY.

With the services up, we should be able to view our services running on port 5000 in the web browser here:


After clicking the link, hop into Datadog, and check to see if you're receiving traces. When you've confirmed traces are showing up, move on to the next step.

Trace List

Remember, you can press CTRL+c and exit your running docker-compose.