Created
January 9, 2012 21:47
-
-
Save mleinart/1585128 to your computer and use it in GitHub Desktop.
Rewrite statsd metrics to be in a flat heirarchy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[pre] | |
# I dont like statsd's "buckets" | |
# separate statsd's wonky and confusing summary counts | |
^(stats[.])(?!timers[.])(.+?)$ = stats.statsd.\2 | |
# Put all metrics under the 'stats' prefix | |
^(stats[.])(timers[.])(.+?)$ = \1\3 | |
^(stats_counts[.])(.+?)$ = stats.\2 | |
# statsd's internal metrics | |
^(statsd)(.+?)$ = stats.\1\2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment