Interface MetricsHelper


  • public interface MetricsHelper
    Collection of utility methods used for providing Metrics.
    • Method Detail

      • metricsService

        MetricsService metricsService()
        Returns MetricService instance.
        Returns:
        MetricService instance
      • createTimer

        default com.codahale.metrics.Timer createTimer​(String component,
                                                       String feature,
                                                       String name)
        Creates a Timer instance with given name.
        Parameters:
        component - component name
        feature - feature name
        name - timer name
        Returns:
        Timer instance