datadog-go icon indicating copy to clipboard operation
datadog-go copied to clipboard

Add Env var called `DD_DOGSTATSD_SOCKET` to not conflict with `DD_APM_RECEIVER_SOCKET `

Open smitthakkar96 opened this issue 4 years ago • 2 comments

Since the sockets are supported for both StatsD and APM setting DD_AGENT_HOST would break either DogStatd or APM as they both have different paths. As per the helm chart the socket paths are as followed /var/run/datadog/apm.socket and /var/run/datadog/dsd.socket.

smitthakkar96 avatar Jun 09 '21 11:06 smitthakkar96

HI @smitthakkar96,

Thanks for opening this issue. I'll look into it and sync with the APM team. But adding a new env var sound like a good idea.

hush-hush avatar Jul 05 '21 09:07 hush-hush

There actually is the DD_TRACE_AGENT_URL setting on the trace agent (https://docs.datadoghq.com/tracing/setup_overview/setup/python/?tab=containers). But this is not yet implemented in the Go client. There is a issue open here.

hush-hush avatar Oct 07 '21 12:10 hush-hush