Interface Reporter


  • public interface Reporter
    User 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:

    
     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.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void start()
      Life cycle method called when telemetry is initiated.
      void stop()
      Life cycle method called when telemetry is stopped.
    • Method Detail

      • start

        void start()
        Life cycle method called when telemetry is initiated.
      • stop

        void stop()
        Life cycle method called when telemetry is stopped.