wolph / python-statsd

Python Client for the Etsy NodeJS Statsd Server
http://readthedocs.org/docs/python-statsd/en/latest/
BSD 3-Clause "New" or "Revised" License
110 stars 39 forks source link

Raw and averages #7

Closed pcn closed 12 years ago

pcn commented 12 years ago

This adds support for two types that have been queued for statsd for a while. I've got a pull request to support these types.

The use case for raws is to be able to pass in stats that will be passed, pretty much unchanged, to graphite. I'm using this to allow stats APIs like codahale/metrics to report pre-summarized data, and to allow the system stats gathering agent Diamond to report system stats pre-summarized/un-summarized via statsd.

I don't have a use case for Averages, they came with the patch.

wolph commented 12 years ago

Awesome feature, thank you very much for the patch!

I will merge it in immediately and deploy a new version somewhere this weekend once I've tested everything :)