public class NimbusMetricProcessor extends Object implements WorkerMetricsProcessor
Constructor and Description |
---|
NimbusMetricProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
prepare(Map<String,Object> config)
Prepares the metric processor.
|
void |
processWorkerMetrics(Map<String,Object> conf,
WorkerMetrics metrics)
Process insertion of worker metrics.
|
public void processWorkerMetrics(Map<String,Object> conf, WorkerMetrics metrics) throws MetricException
WorkerMetricsProcessor
processWorkerMetrics
in interface WorkerMetricsProcessor
conf
- the supervisor configmetrics
- the metrics to processMetricException
- on errorpublic void prepare(Map<String,Object> config) throws MetricException
WorkerMetricsProcessor
prepare
in interface WorkerMetricsProcessor
config
- Storm config mapMetricException
- on errorCopyright © 2023 The Apache Software Foundation. All rights reserved.