Package org.apache.storm.metrics2
Class TaskMetricRepo
java.lang.Object
org.apache.storm.metrics2.TaskMetricRepo
Metric repository to allow reporting of task-specific metrics.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCounter
(String name, com.codahale.metrics.Counter counter) void
void
addHistogram
(String name, com.codahale.metrics.Histogram histogram) void
void
void
report
(com.codahale.metrics.ScheduledReporter reporter, com.codahale.metrics.MetricFilter filter)
-
Constructor Details
-
TaskMetricRepo
public TaskMetricRepo()
-
-
Method Details
-
addCounter
-
addGauge
-
addMeter
-
addHistogram
-
addTimer
-
report
public void report(com.codahale.metrics.ScheduledReporter reporter, com.codahale.metrics.MetricFilter filter)
-