public class StormMetricRegistry extends Object implements MetricRegistryProvider
Constructor and Description |
---|
StormMetricRegistry() |
Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.Counter |
counter(String name,
String componentId,
Integer taskId) |
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) |
void |
deregister(Set<com.codahale.metrics.Metric> toRemove) |
<T> com.codahale.metrics.Gauge<T> |
gauge(String name,
com.codahale.metrics.Gauge<T> gauge,
String componentId,
Integer taskId) |
<T> com.codahale.metrics.Gauge<T> |
gauge(String name,
com.codahale.metrics.Gauge<T> gauge,
String topologyId,
String componentId,
Integer taskId,
Integer port)
Deprecated.
|
<T> com.codahale.metrics.Gauge<T> |
gauge(String name,
com.codahale.metrics.Gauge<T> gauge,
String topologyId,
String componentId,
String streamId,
Integer taskId,
Integer port) |
<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) |
int |
getRateCounterUpdateIntervalSeconds() |
com.codahale.metrics.MetricRegistry |
getRegistry() |
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<TaskMetricDimensions,TaskMetricRepo> |
getTaskMetrics() |
Map<String,com.codahale.metrics.Timer> |
getTaskTimers(int taskId) |
com.codahale.metrics.Histogram |
histogram(String name,
TopologyContext context) |
com.codahale.metrics.Meter |
meter(String name,
TopologyContext context) |
com.codahale.metrics.Meter |
meter(String name,
WorkerTopologyContext context,
String componentId,
Integer taskId) |
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) |
RateCounter |
rateCounter(String metricName,
String componentId,
int taskId) |
RateCounter |
rateCounter(String metricName,
String topologyId,
String componentId,
int taskId,
int workerPort,
String streamId) |
void |
start(Map<String,Object> topoConf,
int port) |
void |
stop() |
com.codahale.metrics.Timer |
timer(String name,
TopologyContext context) |
public RateCounter rateCounter(String metricName, String topologyId, String componentId, int taskId, int workerPort, String streamId)
public RateCounter rateCounter(String metricName, String componentId, int taskId)
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)
@Deprecated public <T> com.codahale.metrics.Gauge<T> gauge(String name, com.codahale.metrics.Gauge<T> gauge, String topologyId, String componentId, Integer taskId, Integer port)
public <T> com.codahale.metrics.Gauge<T> gauge(String name, com.codahale.metrics.Gauge<T> gauge, String componentId, Integer taskId)
public <T> com.codahale.metrics.Gauge<T> gauge(String name, com.codahale.metrics.Gauge<T> gauge, String topologyId, String componentId, String streamId, 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, WorkerTopologyContext context, String componentId, Integer taskId)
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 com.codahale.metrics.Counter counter(String name, String componentId, Integer taskId)
public com.codahale.metrics.Timer timer(String name, TopologyContext context)
public com.codahale.metrics.Histogram histogram(String name, TopologyContext context)
public void metricSet(String prefix, com.codahale.metrics.MetricSet set, TopologyContext context)
public void deregister(Set<com.codahale.metrics.Metric> toRemove)
public void stop()
public int getRateCounterUpdateIntervalSeconds()
public com.codahale.metrics.MetricRegistry getRegistry()
getRegistry
in interface MetricRegistryProvider
public Map<TaskMetricDimensions,TaskMetricRepo> getTaskMetrics()
getTaskMetrics
in interface MetricRegistryProvider
Copyright © 2023 The Apache Software Foundation. All rights reserved.