Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support IPv6 hostnames in dogstatsd #784

Open
phil-scale opened this issue Jul 16, 2023 · 1 comment
Open

Support IPv6 hostnames in dogstatsd #784

phil-scale opened this issue Jul 16, 2023 · 1 comment
Labels
kind/feature-request Feature request related issue stale Stale - Bot reminder

Comments

@phil-scale
Copy link

Note:
If you have a feature request, you should contact support so the request can be properly tracked.

Is your feature request related to a problem? Please describe.

Support IPv6 hostnames in the DogStatsd class so that we can resolve the following issue in IPv6-addressed environments

>>> from datadog.dogstatsd.base import DogStatsd
>>> DogStatsd._get_udp_socket("::", 8126)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/miniconda3/envs/hmi/lib/python3.8/site-packages/datadog/dogstatsd/base.py", line 544, in _get_udp_socket
    sock.connect((host, port))
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

Describe the solution you'd like
Proposed fix: #783

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@phil-scale phil-scale added the kind/feature-request Feature request related issue label Jul 16, 2023
@github-actions
Copy link

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.

@github-actions github-actions bot added the stale Stale - Bot reminder label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature-request Feature request related issue stale Stale - Bot reminder
Projects
None yet
Development

No branches or pull requests

1 participant