etsy/statsd — pull request #136 by otac0n (2012-08-05 20:58:07+00:00)
Title: Stats prefixes

This pull request has three main parts.

The first commit d8e3f03dd5f726bf1c75e8f449132d11265a22b3 is a bug-fix, making the prefix/folder for the `numStats` consistent with everything else.

The second commit 8501deb99b2761c8a7477ddca26270a6a5d4f3ca changes the way counters are tracked to be closer to how timers are tracked. Timers have `foo.count`, `foo.mean`, `foo.max`, etc. This changes counters to have `foo.count` and `foo.rate`.

The third commit 970f9e115f7b21b5be82d3b2bdfbe833e9467ee5 adds configuration options for the key prefixes used for the various stat types. (For example, a gauge `foo` used to become `stats.gauges.foo`, but this change makes both the `stats.` and the `gauges.` segments configurable.

Note: The first and second changes are not backwards compatible.