forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.datadog.yaml
55 lines (53 loc) · 1.47 KB
/
docker-compose.datadog.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Adds settings for allowing datadog metrics to be published from a local environment.
# This exists _only_ for testing datadog integrations!
#
# Usage:
# 1. create an API Key in datadog
# 2. wget -O dd-java-agent.jar 'https://dtdg.co/latest-java-tracer'
# 3. DD_API_KEY=[datadog api key] VERSION=dev docker-compose -f docker-compose.yaml -f docker-compose.datadog.yaml up -d
version: "3.8"
x-datadog: &datadogged
volumes:
- type: bind
source: ./dd-java-agent.jar
target: /dd-java-agent.jar
environment:
- DD_AGENT_HOST=airbyte-datadog
- DD_TRACE_AGENT_URL=http://airbyte-datadog:8126
- JAVA_OPTS=-javaagent:/dd-java-agent.jar
services:
datadog:
image: datadog/agent:7-rc
container_name: airbyte-datadog
environment:
- DD_API_KEY
- DD_ENV=${DD_ENV:-local}
- DD_SITE=datadoghq.com
- DD_DOGSTATSD_NON_LOCAL_TRAFFIC=true
- DD_APM_ENABLED=true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /proc/:/host/proc/:ro
- /sys/fs/cgroup:/host/sys/fs/cgroup:ro
networks:
- airbyte_internal
init:
<<: *datadogged
environment:
- DD_SERVICE=airbyte-init
bootloader:
<<: *datadogged
environment:
- DD_SERVICE=airbyte-bootloader
worker:
<<: *datadogged
environment:
- DD_SERVICE=airbyte-worker
server:
<<: *datadogged
environment:
- DD_SERVICE=airbyte-server
airbyte-cron:
<<: *datadogged
environment:
- DD_SERVICE=airbyte-cron