Dropwizard is a metrics library written by Coda Hale which captures JVM and application-level metrics, making it incredibly easy to monitor Java applications. Originally developed as a Yammer metrics library, it’s a very effective way of getting your Java stats into Graphite.
Getting your data from Dropwizard into Hosted Graphite is very straightforward, and this guide is taken from the Dropwizard documentation for Graphite
metrics:
reporters:
- type: graphite
host: carbon.hostedgraphite.com
port: 2003
prefix: YOUR_API_KEY