Class PrometheusPreparableReporter
- java.lang.Object
-
- org.apache.storm.metrics.prometheus.PrometheusPreparableReporter
-
- All Implemented Interfaces:
PreparableReporter
public class PrometheusPreparableReporter extends Object implements PreparableReporter
-
-
Constructor Summary
Constructors Constructor Description PrometheusPreparableReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PrometheusReporterClient
getReporter()
void
prepare(com.codahale.metrics.MetricRegistry metricsRegistry, Map<String,Object> daemonConf)
void
start()
void
stop()
-
-
-
Method Detail
-
getReporter
protected PrometheusReporterClient getReporter()
-
prepare
public void prepare(com.codahale.metrics.MetricRegistry metricsRegistry, Map<String,Object> daemonConf)
- Specified by:
prepare
in interfacePreparableReporter
-
start
public void start()
- Specified by:
start
in interfacePreparableReporter
-
stop
public void stop()
- Specified by:
stop
in interfacePreparableReporter
-
-