Closed crankycoder closed 1 year ago
While writing my patch - I discovered that this looks more like a "testsuite is giving false positive pass".
I can't for the life of me figure out why the existing code does not work, but the UNIXSocket code does work for me.
closing: macos nc doesn't run domain sockets in datagram mode - only stream mode .
When testing the dogstatsd client with domain sockets - I'm unable to get the client (5.5.0) to communicate to my netcat domain socket.
I'm running this shell script to spin up a listener:
My ruby code reads:
I see no metrics on my UDP listener.
I can see metrics if I manually send data to the socket:
Additionally - the test suite seems to have marked all Unix Domain Socket (uds) tests as
pending
:Tests marked as pending are also skipped in CI: https://app.circleci.com/pipelines/github/DataDog/dogstatsd-ruby/162/workflows/80ccdb50-b50d-45e2-be25-6d1a8fdb4881/jobs/1256
so this does not appear to be a problem with my machine. Does DogstatsD not support domain sockets officially?