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

Inject a client into statsd_* metaprogramming methods #233

Closed wvanbergen closed 5 years ago

wvanbergen commented 5 years ago

The client defaults to StatsD.singleton_client, but you can now use a different client, e.g. one with a different prefix, to set up instrumentation for your methods using the metaprogramming macros.