public class MetricStoreConfig extends Object
| Constructor and Description | 
|---|
MetricStoreConfig()  | 
| Modifier and Type | Method and Description | 
|---|---|
static MetricStore | 
configure(Map<String,Object> conf,
         StormMetricsRegistry metricsRegistry)
Configures metrics store (running on Nimbus) to use the class specified in the conf. 
 | 
static WorkerMetricsProcessor | 
configureMetricProcessor(Map conf)
Configures metric processor (running on supervisor) to use the class specified in the conf. 
 | 
public static MetricStore configure(Map<String,Object> conf, StormMetricsRegistry metricsRegistry) throws MetricException
Configures metrics store (running on Nimbus) to use the class specified in the conf.
conf - Storm config mapmetricsRegistry - The Nimbus daemon metrics registryMetricException - on misconfigurationpublic static WorkerMetricsProcessor configureMetricProcessor(Map conf) throws MetricException
Configures metric processor (running on supervisor) to use the class specified in the conf.
conf - the supervisor configMetricException - on misconfigurationCopyright © 2022 The Apache Software Foundation. All rights reserved.