@Public public interface MetricReporterFactory
MetricReporter
factory.
Reporters that can be instantiated with a factory automatically qualify for being loaded as a
plugin, so long as the reporter jar is self-contained (excluding Flink dependencies) and contains
a META-INF/services/org.apache.flink.metrics.reporter.MetricReporterFactory
file
containing the qualified class name of the factory.
Modifier and Type | Method and Description |
---|---|
MetricReporter |
createMetricReporter(Properties properties)
Creates a new metric reporter.
|
MetricReporter createMetricReporter(Properties properties)
properties
- configured properties for the reporterCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.