librato/metrics-librato — pull request #47 by collinvandyck (2014-05-19 21:21:01+00:00)
Title: Optionally derive sources from metric names

This PR gives the ability to extract source information from codahale metric names. A regular expression can be supplied to the LibratoReporter. It will then match that against each metric name as a batch is being prepared to be sent to Librato. Metrics that match will use the first capturing group as the source, and everything else after the entire match will used as the actual metric name.