This patch adds a metrics-librato module which adds support for publishing to the Librato Metrics API.
It was modeled somewhat after the GraphiteReporter, though I opted for a Builder class for configuration. I also used that module's pom.xml to guide my own; it seems pretty straight-forward, and everything builds, but it probably deserves scrutiny.
missed a spot with the sanitizer
was trying to be too clever with the timeout business; also doesn't m…
…ake sense when the batches end up needing to be paginated
tidy up logging some
make unchangeable statics final
comments on the configurable options in LibratoReporter.Builder
a quick README for this module
get rid of interface that ended up not being necessary
get rid of printlns
make the unit test for sanitizer a bit more reasonable
use an iterator to simplify batching code
re-add status code checking that was neglected when adding batching
Really cool functionality, but I've been declining further modules for the main Metrics distribution. I suggest you run this as your own project. I'll be adding a section in the Metrics documentation with links to related libraries, and this should definitely be in it.
@codahale thanks for the quick response, we'll get this set up as a standalone project. What's the preferred format for sending you links for the upcoming related libraries documentation?
Right now there isn't one.