public interface Reporter
Make sure that your reporter implements this interface.
The constructor of your reporter class must have one of the following constructors:
public YourReporter(com.codahale.metrics.MetricRegistry registry)
public YourReporter(com.codahale.metrics.MetricRegistry registry, com.lightbend.cinnamon.chmetrics.reporter.ReporterContext)
Errors will be logged if the class does not have any accepted constructors of if it does not
implement this interface.| Modifier and Type | Method and Description |
|---|---|
void |
start()
Life cycle method called when telemetry is initiated.
|
void |
stop()
Life cycle method called when telemetry is stopped.
|
Cinnamon API. Copyright (c) 2015–2021 Lightbend.