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

Add support for DD_DOGSTATSD_HOST #208

Closed
wants to merge 1 commit into from

Conversation

hush-hush
Copy link
Member

@hush-hush hush-hush commented Jul 9, 2021

DD_DOGSTATSD_HOST takes precedence over DD_AGENT_HOST but works in the exact same way. This is useful when running multiple DogStatsD clients on the same host where each of them use a different UDS socket.

For example the Trace agent might have its own UDS socket, /var/run/datadog/apm.socket, while the Agent is listening on /var/run/datadog/dsd.socket for DogStatsD traffic. Setting DD_AGENT_HOST env var would set the same socket for both app. The dedicated DD_DOGSTATSD_HOST now allow users to set a socket/host for DogStatsD only.

This solves #201.

@hush-hush hush-hush force-pushed the maxime/add-support-socket-env branch from b7a0b15 to 5a2ec53 Compare July 30, 2021 09:32
@hush-hush hush-hush force-pushed the maxime/add-support-socket-env branch from 5a2ec53 to 959a933 Compare July 30, 2021 13:58
@hush-hush hush-hush changed the title Add support for DD_DOGSTATSD_HOST Add support for DD_DOGSTATSD_URL Jul 30, 2021
DD_DOGSTATSD_HOST takes precedence over DD_AGENT_HOST but works in the
exact same way. This is useful when running multiple DogStatsD clients
on the same host where each of them use a different UDS socket.

For example the Trace agent might have its own UDS socket,
"/var/run/datadog/apm.socket", while the Agent is listening on
"/var/run/datadog/dsd.socket" for DogStatsD traffic. Setting
"DD_AGENT_HOST" env var would set the same socket for both app. The
dedicated "DD_DOGSTATSD_HOST" now allow users to set a socket/host for
DogStatsD only.
@hush-hush hush-hush force-pushed the maxime/add-support-socket-env branch from 959a933 to 8634aae Compare October 5, 2021 14:33
@hush-hush hush-hush changed the title Add support for DD_DOGSTATSD_URL Add support for DD_DOGSTATSD_HOST Oct 6, 2021
@hush-hush
Copy link
Member Author

This is actually already handled in all Trace agent except GO (cf: DataDog/dd-trace-go#1023)

@hush-hush hush-hush closed this Oct 7, 2021
@hush-hush hush-hush deleted the maxime/add-support-socket-env branch October 7, 2021 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant