markstory / rust-statsd

Statsd client implemented in Rust
MIT License
58 stars 26 forks source link

Simplify Pipeline sending #5

Closed markstory closed 8 years ago

markstory commented 8 years ago

By only taking a client in the send() method, the pipeline becomes a simpler type, and furthermore, makes testing with statsd simpler, as one can pass pipelines into methods that do not want to emit metrics.

cc @messense

messense commented 8 years ago

LGTM