Package org.apache.flink.runtime.metrics
Class TraceReporterSetup
java.lang.Object
org.apache.flink.runtime.metrics.TraceReporterSetup
Encapsulates everything needed for the instantiation and configuration of a
TraceReporter.-
Constructor Summary
ConstructorsConstructorDescriptionTraceReporterSetup(String name, org.apache.flink.metrics.MetricConfig configuration, org.apache.flink.traces.reporter.TraceReporter reporter, Map<String, String> additionalVariables) -
Method Summary
Modifier and TypeMethodDescriptionstatic TraceReporterSetupforReporter(String reporterName, org.apache.flink.metrics.MetricConfig metricConfig, org.apache.flink.traces.reporter.TraceReporter reporter) static TraceReporterSetupforReporter(String reporterName, org.apache.flink.traces.reporter.TraceReporter reporter) static List<TraceReporterSetup>fromConfiguration(org.apache.flink.configuration.Configuration configuration, org.apache.flink.core.plugin.PluginManager pluginManager) getName()org.apache.flink.traces.reporter.TraceReporter
-
Constructor Details
-
TraceReporterSetup
-
-
Method Details
-
getAdditionalVariables
-
getName
-
getReporter
public org.apache.flink.traces.reporter.TraceReporter getReporter() -
forReporter
@VisibleForTesting public static TraceReporterSetup forReporter(String reporterName, org.apache.flink.traces.reporter.TraceReporter reporter) -
forReporter
@VisibleForTesting public static TraceReporterSetup forReporter(String reporterName, org.apache.flink.metrics.MetricConfig metricConfig, org.apache.flink.traces.reporter.TraceReporter reporter) -
fromConfiguration
public static List<TraceReporterSetup> fromConfiguration(org.apache.flink.configuration.Configuration configuration, @Nullable org.apache.flink.core.plugin.PluginManager pluginManager)
-