Shopify / statsd-instrument

A StatsD client for Ruby apps. Provides metaprogramming methods to inject StatsD instrumentation into your code.
http://shopify.github.io/statsd-instrument
MIT License
570 stars 94 forks source link

Refactor: use generic sink with different connections #374

Closed pedro-stanaka closed 1 month ago

pedro-stanaka commented 1 month ago

Summary

Clean up duplication introduced by #372 and create a Connection concept that will wrap the Socket and properly handle each type of Socket implementation detail.

Changes