Interface Reporter
-
public interface ReporterUser API for adding Coda Hale metric reporters.Make sure that your reporter implements this interface.
The constructor of your reporter class must have one of the following constructors:
Errors will be logged if the class does not have any accepted constructors of if it does not implement this interface.public YourReporter(com.codahale.metrics.MetricRegistry registry) public YourReporter(com.codahale.metrics.MetricRegistry registry, com.lightbend.cinnamon.chmetrics.reporter.ReporterContext)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidstart()Life cycle method called when telemetry is initiated.voidstop()Life cycle method called when telemetry is stopped.
-