-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding support for DD_DOGSTATSD_HOST env var
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.
- Loading branch information
Showing
4 changed files
with
122 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters