Open anupamdialpad opened 3 years ago
@anupamdialpad Can you confirm which software you are using that is listening on the unix socket? I'm assuming you are referring to the Datadog Agent (https://docs.datadoghq.com/developers/dogstatsd/unix_socket/?tab=host).
The vector statsd
sink currently only supports connecting to unix stream sockets (which is what the traditional statsd
service uses https://github.com/statsd/statsd)
The datadog agent uses unix datagram sockets, which are not currently supported.
@fuchsnj Yes you are correct, Datadog Agent is the receiver behind the unix socket. I guess as an alternative I can proxy the request to the unix datagram socket as mentioned in https://docs.datadoghq.com/developers/dogstatsd/unix_socket/?tab=host#socat-proxy.
Would be great if sending metric over unix datagram socket was implemented in Vector natively 🙂
Would be great if sending metric over unix datagram socket was implemented in Vector natively slightly_smiling_face
Agreed. I will keep this issue to add support for unix datagram sockets for the statsd
sink.
Vector Version
Vector Configuration File
Output
Expected Behavior
Successfully send metrics over unix socket.
Additional Context
Vector container is running inside a Kubernetes pod. After transforming logs to metric we send it out to Datadog cloud through unix socket