public class StormMetricsRegistry extends Object
Modifier and Type | Field and Description |
---|---|
static com.codahale.metrics.MetricRegistry |
DEFAULT_REGISTRY |
Constructor and Description |
---|
StormMetricsRegistry() |
Modifier and Type | Method and Description |
---|---|
static com.codahale.metrics.Gauge<Integer> |
registerGauge(String name,
Callable fn) |
static com.codahale.metrics.Histogram |
registerHistogram(String name,
com.codahale.metrics.Reservoir reservoir) |
static com.codahale.metrics.Meter |
registerMeter(String name) |
static void |
startMetricsReporters(Map stormConf) |
public static final com.codahale.metrics.MetricRegistry DEFAULT_REGISTRY
public static com.codahale.metrics.Meter registerMeter(String name)
public static com.codahale.metrics.Gauge<Integer> registerGauge(String name, Callable fn)
public static com.codahale.metrics.Histogram registerHistogram(String name, com.codahale.metrics.Reservoir reservoir)
public static void startMetricsReporters(Map stormConf)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.