DataDog / datadogpy

The Datadog Python library
https://datadoghq.com/
Other
609 stars 303 forks source link

add IPv6 support for statsd hostnames #752

Open Tianwei-She opened 1 year ago

Tianwei-She commented 1 year ago

When DD_AGENT_HOST is set to an IPv6 address, like 3b12:fb33:0:10::f262, statsd doesn't work, and a warning message shows in logs: WARNING:datadog.dogstatsd:Error submitting packet: [Errno -9] Address family for hostname not supported, dropping the packet and closing the socket.

github-actions[bot] commented 1 year ago

Thanks for your contribution!

This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.

If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of this project.

  2. Comment that the issue is still reproducible and include updated details requested in the issue template.

nextmat commented 11 months ago

Related PR here: https://github.com/DataDog/datadogpy/pull/783