Interface MetricReporterFactory


  • @Public
    public interface MetricReporterFactory
    MetricReporter factory.

    Metric 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.

    • Method Detail

      • createMetricReporter

        MetricReporter createMetricReporter​(Properties properties)
        Creates a new metric reporter.
        Parameters:
        properties - configured properties for the reporter
        Returns:
        created metric reporter