reinh / statsd

A Ruby Statsd client that isn't a direct port of the Python example code. Because Ruby isn't Python.
MIT License
411 stars 154 forks source link

Statsd#time not resilient to exceptions #48

Closed nirvdrum closed 8 years ago

nirvdrum commented 11 years ago

The Statsd#time call will fail to record any timings if the block raises an exception. Since execution time can be tightly correlated with exceptional circumstances, it'd be great if these timings were recorded as well.