Interface MetricsSource


@Public @Evolving public interface MetricsSource
The source of metrics information. It generates and updates metrics. It registers with MetricsSystem, which periodically polls it to collect MetricsRecord and passes it to MetricsSink.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    getMetrics(MetricsCollector collector, boolean all)
    Get metrics from the metrics source
  • Method Details

    • getMetrics

      void getMetrics(MetricsCollector collector, boolean all)
      Get metrics from the metrics source
      Parameters:
      collector - to contain the resulting metrics snapshot
      all - if true, return all metrics even if unchanged.