Class TaskMetricRepo

java.lang.Object
org.apache.storm.metrics2.TaskMetricRepo

public class TaskMetricRepo extends Object
Metric repository to allow reporting of task-specific metrics.
  • Constructor Details

    • TaskMetricRepo

      public TaskMetricRepo()
  • Method Details

    • addCounter

      public void addCounter(String name, com.codahale.metrics.Counter counter)
    • addGauge

      public void addGauge(String name, com.codahale.metrics.Gauge gauge)
    • addMeter

      public void addMeter(String name, com.codahale.metrics.Meter meter)
    • addHistogram

      public void addHistogram(String name, com.codahale.metrics.Histogram histogram)
    • addTimer

      public void addTimer(String name, com.codahale.metrics.Timer timer)
    • report

      public void report(com.codahale.metrics.ScheduledReporter reporter, com.codahale.metrics.MetricFilter filter)