Issues with Datadog Integration in Kubernetes

Summary

User is experiencing warning logs related to the Datadog integration in a Kubernetes environment, specifically a PortUnreachableException indicating a connection issue with the Datadog agent.


Question

Has anyone had success getting the metric server to work on a kubernetes environment, we’re trying to setup the datadog integration but end up with these warning logs.

We have set these envs
METRIC_CLIENT=datadog

  • name: DD_DOGSTATSD_PORT
    value: ‘8125’
  • name: DD_AGENT_HOST
    valueFrom:
    fieldRef:
    apiVersion: v1
    fieldPath: status.hostIP

2024-11-19 22:34:24,713 [udp-epoll-2] WARN i.m.s.r.u.Loggers$Slf4JLogger(warn):299 - [aa0b791e, L:/127.0.0.1:50521 - R:localhost/127.0.0.1:8125] An exception has been observed post termination, use DEBUG level to see the full stack: java.net.PortUnreachableException: recvAddress(..) failed: Connection refused



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

['kubernetes', 'datadog', 'metric-server', 'connection-refused', 'env-variables']

It isn’t clear from documentation how to proper setup datadog monitoring. I asked the engineering team to take a look https://docs.airbyte.com/operator-guides/collecting-metrics and see what it’s possible to improve.