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
conf
- Storm config mapmetricsRegistry
- The Nimbus daemon metrics registryMetricException
- on misconfigurationpublic static WorkerMetricsProcessor configureMetricProcessor(Map conf) throws MetricException
conf
- the supervisor configMetricException
- on misconfigurationCopyright © 2023 The Apache Software Foundation. All rights reserved.