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

Delegate the decision whether to sample a metric to the sink. #208

Closed wvanbergen closed 4 years ago

wvanbergen commented 4 years ago

Delegate the decision whether to sample a metric to the sink. This allows us to sink to determine whether it wants to see the packet.

This will allow us to use capture to capture packets like the old client.