public final class TraceReporterSetup extends Object
TraceReporter
.Constructor and Description |
---|
TraceReporterSetup(String name,
MetricConfig configuration,
TraceReporter reporter,
Map<String,String> additionalVariables) |
Modifier and Type | Method and Description |
---|---|
static TraceReporterSetup |
forReporter(String reporterName,
MetricConfig metricConfig,
TraceReporter reporter) |
static TraceReporterSetup |
forReporter(String reporterName,
TraceReporter reporter) |
static List<TraceReporterSetup> |
fromConfiguration(Configuration configuration,
PluginManager pluginManager) |
Map<String,String> |
getAdditionalVariables() |
String |
getName() |
TraceReporter |
getReporter() |
public TraceReporterSetup(String name, MetricConfig configuration, TraceReporter reporter, Map<String,String> additionalVariables)
public String getName()
public TraceReporter getReporter()
@VisibleForTesting public static TraceReporterSetup forReporter(String reporterName, TraceReporter reporter)
@VisibleForTesting public static TraceReporterSetup forReporter(String reporterName, MetricConfig metricConfig, TraceReporter reporter)
public static List<TraceReporterSetup> fromConfiguration(Configuration configuration, @Nullable PluginManager pluginManager)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.