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