From f424b17b60d1bdbbb4f7fd77b94a4a7c0f6fa9fb Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Tue, 22 Oct 2024 15:15:36 +0200 Subject: [PATCH 1/2] Adjust example docker command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 13d18fb..ee84993 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Run the following command to start a new Docker container with `catadog`. ``` -docker run --rm -d --name catadog ghcr.io/datadog/catadog +docker run --rm -it --publish 8128:8128 --name catadog ghcr.io/datadog/catadog ``` ### Global command From 92835993552d08057dac10d80ce78b0acb321a0b Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Tue, 22 Oct 2024 15:15:56 +0200 Subject: [PATCH 2/2] Remove stray spaces --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ee84993..60ad6ed 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,7 @@ bundle exec catadog | jq 'select(.kind=="rc") | .response.body.target_files | .[ ## Using Docker Compose -By leveraging the `docker-compose.yaml` file, you can automatically connect your app to `catadog` and your datadog agent. +By leveraging the `docker-compose.yaml` file, you can automatically connect your app to `catadog` and your datadog agent. First, [instrument your app](https://docs.datadoghq.com/tracing/trace_collection/automatic_instrumentation/dd_libraries/ruby/#instrument-your-application) with the datadog gem. @@ -207,7 +207,7 @@ services: image: datadog/agent env_file: - ".env" - environment: + environment: - DD_APM_ENABLED=true - DD_BIND_HOST=0.0.0.0 - DD_APM_NON_LOCAL_TRAFFIC=true