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

Add StatsD.client singleton #207

Closed wvanbergen closed 4 years ago

wvanbergen commented 4 years ago

Expose a singleton client (by default, instantiated using environment variables), so in the future we can delegate the singleton methods like StatsD.increment to it.

This will allow us to more easily test compatibility with the new client. We may also need #171 for that.