So far, we've learned how to use Graphite and Grafana. In this recipe, we will learn how to create dashboards and panels using Grafana. Ideally, Grafana dashboards will be displayed on a big screen in a space where developers (or concerned people) can see them so that any odd behavior in the graphs will be clearly visible to the developers.
In this recipe, we will be utilizing two metrics from the geolocation
JVM and the two metrics that we created using Codahale. These four metrics will be plotted on graphs in the dashboard.
First, make sure Graphite and Grafana are up and running. If they're not, start them using the
docker-compose
YAML file.Next, make sure your geolocation application is up and running. If it's not, start it from your STS IDE as a Spring Boot application.