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
574 stars 97 forks source link

Allow specifying an implementation when instantiating a Client #228

Closed wvanbergen closed 5 years ago

wvanbergen commented 5 years ago

An implementation is easier to specify than a datagram_builder_class, and more closely aligned with how you would configure a client using environment variables.

We will pick the right datagram_builder_class based on the implementation, but you can still specify a datagram_builder_class yourself if you prefer.