public class StormMetricRegistry extends Object
Constructor and Description |
---|
StormMetricRegistry() |
Modifier and Type | Method and Description |
---|---|
static com.codahale.metrics.Counter |
counter(String name,
String topologyId,
String componentId,
Integer taskId,
Integer workerPort,
String streamId) |
static com.codahale.metrics.Counter |
counter(String name,
WorkerTopologyContext context,
String componentId,
Integer taskId,
String streamId) |
static DisruptorMetrics |
disruptorMetrics(String name,
String topologyId,
String componentId,
Integer taskId,
Integer port) |
static <T> SimpleGauge<T> |
gauge(T initialValue,
String name,
String topologyId,
String componentId,
Integer taskId,
Integer port) |
static com.codahale.metrics.Meter |
meter(String name,
WorkerTopologyContext context,
String componentId,
Integer taskId,
String streamId) |
static String |
metricName(String name,
String stormId,
String componentId,
Integer taskId,
Integer workerPort) |
static String |
metricName(String name,
String stormId,
String componentId,
String streamId,
Integer taskId,
Integer workerPort) |
static String |
metricName(String name,
TopologyContext context) |
static com.codahale.metrics.MetricRegistry |
registry() |
static void |
start(Map<String,Object> stormConfig,
DaemonType type) |
static void |
stop() |
public static <T> SimpleGauge<T> gauge(T initialValue, String name, String topologyId, String componentId, Integer taskId, Integer port)
public static DisruptorMetrics disruptorMetrics(String name, String topologyId, String componentId, Integer taskId, Integer port)
public static com.codahale.metrics.Meter meter(String name, WorkerTopologyContext context, String componentId, Integer taskId, String streamId)
public static com.codahale.metrics.Counter counter(String name, WorkerTopologyContext context, String componentId, Integer taskId, String streamId)
public static com.codahale.metrics.Counter counter(String name, String topologyId, String componentId, Integer taskId, Integer workerPort, String streamId)
public static void start(Map<String,Object> stormConfig, DaemonType type)
public static com.codahale.metrics.MetricRegistry registry()
public static void stop()
public static String metricName(String name, String stormId, String componentId, String streamId, Integer taskId, Integer workerPort)
public static String metricName(String name, String stormId, String componentId, Integer taskId, Integer workerPort)
public static String metricName(String name, TopologyContext context)
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.