package registrant
Type Members
-
trait
Registrant extends AnyRef
User API for adding metrics registrants.
User API for adding metrics registrants. A registrant can return metric sets that will be added to the common metrics registry that is sent to the reporters allowing additional metrics to be reported via the same mechanism.
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.
-
trait
RegistrantContext extends AnyRef
Registrant context for providing additional information to registrants.
This is the public API for Cinnamon.
The com.lightbend.cinnamon package contains the public Cinnamon API.
See the complete list of Cinnamon packages on the right.
Cinnamon Events and Metrics
For the custom events API see
CinnamonEvents
.For the custom metrics API see
CinnamonMetrics
.Stopwatch
For the Stopwatch API see
Stopwatch
.Coda Hale Metrics
For creating custom Coda Hale Metrics reporters see the com.lightbend.cinnamon.chmetrics.reporter package.