public interface Registrant
Make sure that your registrant implements this interface.
The constructor of your registrant class must have one of the following constructors:
public YourRegistrant()
public YourRegistrant(com.typesafe.config.Config config)
Errors will be logged if the class does not have any acceptable constructors or if it does not
implement this interface.| Modifier and Type | Method and Description |
|---|---|
com.codahale.metrics.MetricSet[] |
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.