Class MockTehutiReporter

java.lang.Object
com.linkedin.venice.tehuti.MockTehutiReporter
All Implemented Interfaces:
io.tehuti.Configurable, io.tehuti.metrics.MetricsReporter

public class MockTehutiReporter extends Object implements io.tehuti.metrics.MetricsReporter
  • Constructor Details

    • MockTehutiReporter

      public MockTehutiReporter()
  • Method Details

    • init

      public void init(List<io.tehuti.metrics.TehutiMetric> metrics)
      Specified by:
      init in interface io.tehuti.metrics.MetricsReporter
    • metricChange

      public void metricChange(io.tehuti.metrics.TehutiMetric metric)
      Specified by:
      metricChange in interface io.tehuti.metrics.MetricsReporter
    • addMetric

      public void addMetric(io.tehuti.metrics.TehutiMetric tehutiMetric)
      Specified by:
      addMetric in interface io.tehuti.metrics.MetricsReporter
    • removeMetric

      public void removeMetric(io.tehuti.metrics.TehutiMetric tehutiMetric)
      Specified by:
      removeMetric in interface io.tehuti.metrics.MetricsReporter
    • close

      public void close()
      Specified by:
      close in interface io.tehuti.metrics.MetricsReporter
    • configure

      public void configure(Map<String,?> config)
      Specified by:
      configure in interface io.tehuti.Configurable
    • query

      public io.tehuti.metrics.TehutiMetric query(String name)
    • getAllMetrics

      public Map<String,io.tehuti.metrics.TehutiMetric> getAllMetrics()