public class BasicMetricsCollector extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BasicMetricsCollector.MetricsCollectorConfig |
static class |
BasicMetricsCollector.MetricsItem |
Modifier and Type | Field and Description |
---|---|
static String |
EXECUTORS |
static String |
SPOUT_ACKED |
static String |
SPOUT_AVG_COMPLETE_LATENCY |
static String |
SPOUT_AVG_LATENCY_FORMAT |
static String |
SPOUT_EXECUTORS |
static String |
SPOUT_MAX_COMPLETE_LATENCY |
static String |
SPOUT_MAX_LATENCY_FORMAT |
static String |
SPOUT_THROUGHPUT |
static String |
SPOUT_TRANSFERRED |
static String |
TASKS |
static String |
TIME |
static String |
TIME_FORMAT |
static String |
TOTAL_SLOTS |
static String |
TRANSFERRED |
static String |
USED_SLOTS |
static String |
WORKERS |
static String |
XSFER_RATE |
Constructor and Description |
---|
BasicMetricsCollector(org.apache.storm.LocalCluster localCluster,
String topoName,
Map stormConfig) |
BasicMetricsCollector(Nimbus.Client client,
String topoName,
Map stormConfig) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
collect(org.apache.storm.LocalCluster localCluster) |
void |
collect(Nimbus.Client client) |
public static final String TIME
public static final String TIME_FORMAT
public static final String TOTAL_SLOTS
public static final String USED_SLOTS
public static final String WORKERS
public static final String TASKS
public static final String EXECUTORS
public static final String TRANSFERRED
public static final String XSFER_RATE
public static final String SPOUT_EXECUTORS
public static final String SPOUT_TRANSFERRED
public static final String SPOUT_ACKED
public static final String SPOUT_THROUGHPUT
public static final String SPOUT_AVG_COMPLETE_LATENCY
public static final String SPOUT_AVG_LATENCY_FORMAT
public static final String SPOUT_MAX_COMPLETE_LATENCY
public static final String SPOUT_MAX_LATENCY_FORMAT
public BasicMetricsCollector(Nimbus.Client client, String topoName, Map stormConfig)
public void collect(Nimbus.Client client)
public void collect(org.apache.storm.LocalCluster localCluster)
public void close()
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.