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

Add support for the "set" stat type. #29

Closed petemounce closed 11 years ago

petemounce commented 11 years ago

From the etsy/statsd/README.md,

StatsD supports counting unique occurences of events between 
flushes, using a Set to store all occuring events.

This change adds support for sending metrics of the set type to a statsd server.

Note: I'm not convinced I've fully understand the intent of the event-type (see the rdoc I wrote), but I'm pretty sure the code is doing the correct thing.

reinh commented 11 years ago

:+1: Thanks for the PR! Tossing over to @raggi.

raggi commented 11 years ago

LGTM, thanks!