Skip to content

Commit b6ff6f4

Browse files
authored
Merge pull request #152 from metacpan/haarg/dogstatsd-enable-hostport
enable dogstatsd udp connections and inform web container
2 parents e8fa2a6 + 8242349 commit b6ff6f4

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

apps/web/base/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ spec:
9393
- name: metacpan-web-local
9494
mountPath: /app/metacpan_web_local.conf
9595
subPath: metacpan_web_local.conf
96+
env:
97+
- name: DD_AGENT_HOST
98+
valueFrom:
99+
fieldRef:
100+
fieldPath: status.hostIP
96101
volumes:
97102
- name: metacpan-web-local
98103
secret:

platform/datadog/datadog-agent.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ spec:
1111
apiSecret:
1212
secretName: "datadog-secret"
1313
keyName: "api-key"
14+
originDetectionUnified:
15+
enabled: true
1416
features:
1517
logCollection:
1618
enabled: true
1719
containerCollectAll: true
20+
dogstatsd:
21+
hostPortConfig:
22+
enabled: true

0 commit comments

Comments
 (0)