-
Notifications
You must be signed in to change notification settings - Fork 306
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 the standard DD_DOGSTATSD_URL environment variable #805
Comments
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:
|
Still interested in this! |
I also agree this would be useful. This functionality is already supported in |
It may also be worth pointing out that the default behavior for the Admission Controller provided by DataDog/datadog-operator is to mount a Unix domain socket and set It's a bit unexpected that Datadog's components aren't better integrated. It's not the worst thing ever, just a bit fussy. |
Bumping this up. We are facing a situation where we're setting Setting A behavior similar to https://www.github.com/DataDog/dd-trace-py would be ideal where |
Note:
Is your feature request related to a problem? Please describe.
Currently the only way to configure a connection to a unix domain socket requires doing this in code for every application.
Some of the other Datadog dogstatsd libraries support the
DD_DOGSTATSD_URL
environment variable for setting either host/port or a unix domain socket. For example https://github.com/DataDog/dogstatsd-ruby gem does this. Also the Datadog Kubernetes operator also automatically adds theDD_DOGSTATSD_URL
environment variable to a mounted socket into all pods.Describe the solution you'd like
This library should support reading the
DD_DOGSTATSD_URL
environment variable to configure either host/port or unix domain sockets. This will allow configuration outside of code and be consistent with other dogstatsd libraries.Describe alternatives you've considered
Continue setting this in code and therefore being inconsistent with other Datadog libraries.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: