The metrics-graphite module provides GraphiteReporter, which allows your application to constantly stream metric values to a Graphite server:
GraphiteReporter.enable(1, TimeUnit.MINUTES, "graphite.example.com", 2003);