github/rack-statsd — pull request #7 by mheffner (2012-02-09 20:36:44+00:00)
Title: Track error codes by number and class

This removes the status code -> status name mapping and instead reports status counts by their code number (201, 404, etc). It was hard to keep track of what the string mapping names actually meant in terms of error code. It is something that should probably be handled with a display name at the graphing/presentation layer -- not in the metrics name. Also, this didn't scale well if you are interested in more codes than the mapping provided.

In addition to tracking per code, this will track per class of code: 2xx, 3xx, 4xx, etc.