beberlei / metrics

Simple library that abstracts different metrics collectors. I find this necessary to have a consistent and simple metrics (functional) API that doesn't cause vendor lock-in.
316 stars 38 forks source link

Use socket_create() and socket_sendto() for communicating with StatsD #65

Open gjuric opened 6 years ago

gjuric commented 6 years ago

I tested the current implementation of StatsD collector by running netcat and I was not receiving any data. Not sure what is the cause of the problem, but this implementation works as expected.

If anybody wants to try it our, you can run netcat with nc -ul -p 8125 and you should get something out when you flush metrics.