From 9d2c10eb2d8ce10977cc12b348746e2552087e82 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Wed, 3 Jul 2019 13:58:51 -0400 Subject: [PATCH] add step 3 --- dash-apm-python/index.json | 4 ++++ dash-apm-python/step_2.md | 4 +++- dash-apm-python/step_3.md | 9 +++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 dash-apm-python/step_3.md diff --git a/dash-apm-python/index.json b/dash-apm-python/index.json index 2334d7f..1846743 100644 --- a/dash-apm-python/index.json +++ b/dash-apm-python/index.json @@ -10,6 +10,10 @@ { "title": "Get traces flowing", "text": "step_2.md" + }, + { + "title": "Enable trace analytics", + "text": "step_3.md" } ], "intro": { diff --git a/dash-apm-python/step_2.md b/dash-apm-python/step_2.md index cf58ffc..06613b5 100644 --- a/dash-apm-python/step_2.md +++ b/dash-apm-python/step_2.md @@ -1,6 +1,8 @@ To start all the services run the following, replacing `` with your Datadog API key: -`DD_API_KEY= docker-compose up`{{copy}} +`export DD_API_KEY=`{{copy}} + +`docker-compose up`{{execute}} Open the web interface to verify the application is up and running: diff --git a/dash-apm-python/step_3.md b/dash-apm-python/step_3.md new file mode 100644 index 0000000..33e61fe --- /dev/null +++ b/dash-apm-python/step_3.md @@ -0,0 +1,9 @@ +Add the following environment variable to the `frontend`, `node`, `pumps`, +and `sensors` services in `docker-compose.yml`. + +`DD_ANALYTICS_ENABLED=true`{{copy}} + + +Afterwards restart docker services: + +`docker-compose up`{{execute interrupt}}