Adds the Codahale metrics-graphite module to your Spring Boot application. It allows your application to constantly stream metric values to a Graphite server.
Make sure the Spring Boot Actuator dependency is declared in the Maven build file:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
Add the following dependency:
<dependency>
<groupId>com.github.jgoelen</groupId>
<artifactId>graphite-spring-boot-starter</artifactId>
<version>0.5.x</version>
</dependency>
It can be found in the following maven repository:
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>bintray</name>
<url>http://jcenter.bintray.com</url>
</repository>
Feature flag to enable/disable the reporter.
graphite.enabled=true
Host and port of the Graphite server.
graphite.host=graphite.server.io
graphite.port=2300
The reporting interval in seconds.
graphite.report-interval=5
The prefix for all metric names that get published to Graphite.
graphite.prefix=production.applications.user_service.host
The graphite sender type (udp, tcp or pickled).
graphite.sender-type=udp
For the moment Spring Boot version 1.5.x is supported.