From 89951401710cc2ed08ac471a295d4574b289e4b6 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Fri, 12 Jul 2019 15:57:22 -0400 Subject: [PATCH] update steps --- dash-apm-python/index.json | 6 +++++- dash-apm-python/step_10.md | 0 dash-apm-python/step_3.md | 2 +- dash-apm-python/step_4.md | 2 +- dash-apm-python/step_9.md | 25 ------------------------- 5 files changed, 7 insertions(+), 28 deletions(-) create mode 100644 dash-apm-python/step_10.md diff --git a/dash-apm-python/index.json b/dash-apm-python/index.json index 337eb84..7fef460 100644 --- a/dash-apm-python/index.json +++ b/dash-apm-python/index.json @@ -36,8 +36,12 @@ "text": "step_8.md" }, { - "title": "Enable process agent", + "title": "Enabling monitors", "text": "step_9.md" + }, + { + "title": "Setup custom dashboard", + "text": "step_10.md" } ], "intro": { diff --git a/dash-apm-python/step_10.md b/dash-apm-python/step_10.md new file mode 100644 index 0000000..e69de29 diff --git a/dash-apm-python/step_3.md b/dash-apm-python/step_3.md index fe77d5c..17934ce 100644 --- a/dash-apm-python/step_3.md +++ b/dash-apm-python/step_3.md @@ -10,7 +10,7 @@ frontend: environment: - DATADOG_SERVICE_NAME=frontend - DATADOG_TRACE_AGENT_HOSTNAME=agent - - DD_ANALYTICS_ENABLED=true + - DD_TRACE_ANALYTICS_ENABLED=true ``` Afterwards restart docker services: diff --git a/dash-apm-python/step_4.md b/dash-apm-python/step_4.md index 17eb09b..8eb64b9 100644 --- a/dash-apm-python/step_4.md +++ b/dash-apm-python/step_4.md @@ -19,4 +19,4 @@ Restart services `docker-compose up`{{execute interrupt}} Finally, open the service page for `frontend` to view the new metadata on traces. -https://app.datadoghq.com/apm/service/frontend/flask.request +https://app.datadoghq.com/apm/service/frontend diff --git a/dash-apm-python/step_9.md b/dash-apm-python/step_9.md index 1300214..e69de29 100644 --- a/dash-apm-python/step_9.md +++ b/dash-apm-python/step_9.md @@ -1,25 +0,0 @@ -To enable the Datadog process agent add the following environment variable -to the `agent` service. - -`DD_PROCESS_AGENT_ENABLED=true`{{copy}}. - -Our service should look like: - -```yaml -agent: - environment: - - DD_API_KEY - - DD_APM_ENABLED=true - - DD_TAGS='env:apm-workshop' - - DD_LOGS_ENABLED=true - - DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL=true - - DD_PROCESS_AGENT_ENABLED=true -``` - -Next, restart our docker services: - -`docker-compose up`{{execute interrupt}} - -Finally, open the process dashboard: - -https://app.datadoghq.com/process