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

BatchedUDPSink: flush on exit should be improve #287

Closed casperisfine closed 3 years ago

casperisfine commented 3 years ago

@Mangara just noticed that a particular metric we send not long before the process exit is way down. This is without a doubt due to the newly introduced batching.

I'll look at improving the reliability of sending events soon before the process exit. This issue is mostly a remainder.

cc @wvanbergen