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,
WorkerTopologyContext context,
String componentId,
Integer taskId,
String streamId) |
<T> SimpleGauge<T> |
gauge(T initialValue,
String name,
String topologyId,
String componentId,
Integer taskId,
Integer port) |
JcMetrics |
jcMetrics(String name,
String topologyId,
String componentId,
Integer taskId,
Integer port) |
com.codahale.metrics.Meter |
meter(String name,
WorkerTopologyContext context,
String componentId,
Integer taskId,
String streamId) |
String |
metricName(String name,
TopologyContext context) |
com.codahale.metrics.MetricRegistry |
registry() |
void |
start(Map<String,Object> stormConfig,
DaemonType type) |
void |
stop() |
public <T> SimpleGauge<T> gauge(T initialValue, String name, String topologyId, String componentId, Integer taskId, Integer port)
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.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.MetricRegistry registry()
public void start(Map<String,Object> stormConfig, DaemonType type)
public void stop()
public String metricName(String name, TopologyContext context)
Copyright © 2019 The Apache Software Foundation. All rights reserved.