quipo / statsd

Golang StatsD client
MIT License
164 stars 51 forks source link

StatsdClient fails silently when there's no statsd listening on the given address #25

Open gsalgado opened 8 years ago

gsalgado commented 8 years ago

Neither CreateSocket() nor any of the metrics-generating methods (i.e. Timing(), Incr(), etc) return an error when there's no statsd listening on the address given when creating the client, as can be seen at the following gist: https://gist.github.com/gsalgado/07b8bec3e326582c7174

I'd expect them all to return an error in this case.

alxmsl commented 8 years ago

@gsalgado: https://gist.github.com/gsalgado/816a163447ae062f6725 - HTTP 404

gsalgado commented 8 years ago

New one: https://gist.github.com/gsalgado/07b8bec3e326582c7174

alxmsl commented 8 years ago

It's normal behaviour for UDP connections