public class StormMetricRegistry extends Object
Constructor and Description |
---|
StormMetricRegistry() |
Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.Counter |
counter(String name,
String topologyId,
String componentId,
Integer taskId,
Integer workerPort,
String streamId) |
com.codahale.metrics.Counter |
counter(String name,
TopologyContext context) |
com.codahale.metrics.Counter |
counter(String name,
WorkerTopologyContext context,
String componentId,
Integer taskId,
String streamId) |
<T> com.codahale.metrics.Gauge<T> |
gauge(String name,
com.codahale.metrics.Gauge<T> gauge,
TopologyContext context) |
<T> SimpleGauge<T> |
gauge(T initialValue,
String name,
String topologyId,
String componentId,
Integer taskId,
Integer port) |
Map<String,com.codahale.metrics.Counter> |
getTaskCounters(int taskId) |
Map<String,com.codahale.metrics.Gauge> |
getTaskGauges(int taskId) |
Map<String,com.codahale.metrics.Histogram> |
getTaskHistograms(int taskId) |
Map<String,com.codahale.metrics.Meter> |
getTaskMeters(int taskId) |
Map<String,com.codahale.metrics.Timer> |
getTaskTimers(int taskId) |
com.codahale.metrics.Histogram |
histogram(String name,
TopologyContext context) |
JcMetrics |
jcMetrics(String name,
String topologyId,
String componentId,
Integer taskId,
Integer port) |
com.codahale.metrics.Meter |
meter(String name,
TopologyContext context) |
com.codahale.metrics.Meter |
meter(String name,
WorkerTopologyContext context,
String componentId,
Integer taskId,
String streamId) |
void |
metricSet(String prefix,
com.codahale.metrics.MetricSet set,
TopologyContext context) |
void |
start(Map<String,Object> stormConfig,
DaemonType type) |
void |
stop() |
com.codahale.metrics.Timer |
timer(String name,
TopologyContext context) |
public <T> SimpleGauge<T> gauge(T initialValue, String name, String topologyId, String componentId, Integer taskId, Integer port)
public <T> com.codahale.metrics.Gauge<T> gauge(String name, com.codahale.metrics.Gauge<T> gauge, TopologyContext context)
public JcMetrics jcMetrics(String name, String topologyId, String componentId, Integer taskId, Integer port)
public com.codahale.metrics.Meter meter(String name, WorkerTopologyContext context, String componentId, Integer taskId, String streamId)
public com.codahale.metrics.Meter meter(String name, TopologyContext context)
public com.codahale.metrics.Counter counter(String name, WorkerTopologyContext context, String componentId, Integer taskId, String streamId)
public com.codahale.metrics.Counter counter(String name, String topologyId, String componentId, Integer taskId, Integer workerPort, String streamId)
public com.codahale.metrics.Counter counter(String name, TopologyContext context)
public void metricSet(String prefix, com.codahale.metrics.MetricSet set, TopologyContext context)
public com.codahale.metrics.Timer timer(String name, TopologyContext context)
public com.codahale.metrics.Histogram histogram(String name, TopologyContext context)
public void start(Map<String,Object> stormConfig, DaemonType type)
public void stop()
Copyright © 2022 The Apache Software Foundation. All rights reserved.