public final class ReporterSetup extends Object
MetricReporter
.Constructor and Description |
---|
ReporterSetup(String name,
MetricConfig configuration,
MetricReporter reporter) |
Modifier and Type | Method and Description |
---|---|
static ReporterSetup |
forReporter(String reporterName,
MetricConfig metricConfig,
MetricReporter reporter) |
static ReporterSetup |
forReporter(String reporterName,
MetricReporter reporter) |
static List<ReporterSetup> |
fromConfiguration(Configuration configuration,
PluginManager pluginManager) |
Optional<String> |
getDelimiter() |
Set<String> |
getExcludedVariables() |
Optional<String> |
getIntervalSettings() |
String |
getName() |
MetricReporter |
getReporter() |
public ReporterSetup(String name, MetricConfig configuration, MetricReporter reporter)
public String getName()
public MetricReporter getReporter()
@VisibleForTesting public static ReporterSetup forReporter(String reporterName, MetricReporter reporter)
@VisibleForTesting public static ReporterSetup forReporter(String reporterName, MetricConfig metricConfig, MetricReporter reporter)
public static List<ReporterSetup> fromConfiguration(Configuration configuration, @Nullable PluginManager pluginManager)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.