Skip to content

Commit

Permalink
Draft catadog integration
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahchen6 committed Sep 26, 2024
1 parent 4fff83a commit 997a31a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
SKIP_SIMPLECOV=1
DD_AGENT_HOST=testagent
# DD_AGENT_HOST=testagent
DD_AGENT_HOST=catadog
DD_API_KEY=00000000000000000000000000000000
DD_METRIC_AGENT_PORT=8125
DD_TRACE_AGENT_PORT=9126
# DD_TRACE_AGENT_PORT=9126
DD_TRACE_AGENT_PORT=8128

# Values are used for proxying from APM Test Agent to real Datadog Agent
DD_REAL_AGENT_HOST=ddagent
Expand Down
19 changes: 16 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ services:
- presto
- redis
- testagent
- catadog
env_file: ./.env
environment: &common-environment
BUNDLE_GEMFILE: /app/Gemfile-2.5
DD_AGENT_HOST: testagent
DD_TRACE_AGENT_PORT: 9126
# DD_AGENT_HOST: testagent
DD_AGENT_HOST: catadog
# DD_TRACE_AGENT_PORT: 9126
DD_TRACE_AGENT_PORT: 8128
TEST_DATADOG_INTEGRATION: 1
TEST_ELASTICSEARCH_HOST: elasticsearch
TEST_MEMCACHED_HOST: memcached
Expand Down Expand Up @@ -201,13 +204,23 @@ services:
- "127.0.0.1:${DD_REAL_AGENT_PORT}:8126"
volumes:
- ddagent_var_run:/var/run/datadog
catadog:
image: ghcr.io/datadog/catadog:latest
command: --agent-host ddagent
depends_on:
- ddagent
ports:
- "8128:8128"
volumes:
- ./records:/app/records

testagent:
image: ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:v1.12.0
ports:
- "127.0.0.1:${DD_TRACE_AGENT_PORT}:9126"
depends_on:
- ddagent
# - ddagent
- catadog
env_file: ./.env
environment:
- LOG_LEVEL=DEBUG
Expand Down

0 comments on commit 997a31a

Please sign in to comment.