Interface Source

  • All Known Implementing Classes:
    JvmSource

    public interface Source
    Source is where the metrics generated. It uses a MetricRegistry to register the metrics for monitoring.
    • Method Detail

      • getName

        java.lang.String getName()
        Gets the name of the Source.
        Returns:
        the name of the Source
      • getMetricRegistry

        com.codahale.metrics.MetricRegistry getMetricRegistry()
        Gets the instance of the MetricRegistry. A MetricRegistry is used to register the metrics, and is passed to a Sink so that the sink knows which metrics to report.
        Returns:
        the instance of the MetricRegistry