public class BasicMetricsCollector extends Object implements AutoCloseable
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(String topoName,
Map<String,Object> topoConfig) |
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 void collect(Nimbus.Iface client)
public void close()
close
in interface AutoCloseable
Copyright © 2022 The Apache Software Foundation. All rights reserved.