Exporting Dropwizard metrics over to Graphite
In the early recipes of this chapter, we learned how to create metrics using Dropwizard's Codahale library. Later, we learned how to start Graphite using Docker and understood the basics of using the Graphite interface. In this recipe, we will be exporting the metrics we created in the geolocation application over to this Graphite instance, which will then be used by Grafana for graphing.
As we will be working on the geolocation application, follow these steps:
- Open the STS IDE.
- Navigate to the
geolocationproject, and get ready for the next step.
- Start Graphite if you haven't done so. You can use the
docker-compose-graphite.ymlfile that we created earlier to start Graphite.