Integrating Codahale/Dropwizard metrics with Graphite

Earlier in this chapter, we learned about the monitoring capabilities that are provided by Spring Boot. We saw examples of writing custom HealthIndicators implementations, creating Metrics, and using GaugeService and CounterService to emit data. The simple Spring Boot Admin Web framework gave us some nice graphical UI to visualize the data, but all of these metrics were in-the-moment, with no long-term retention and historical access. Not being able to observe the trends, detect the deviations from the baseline, and compare today with last week is not a very good strategy, especially for an enterprise complex system. We all want to be able to have access to the time series data going weeks, ...

Get Spring Boot Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.