Renkai Ge created FLINK-4532:
--------------------------------
Summary: Allow independent metrics reporter for tasks
Key: FLINK-4532
URL:
https://issues.apache.org/jira/browse/FLINK-4532 Project: Flink
Issue Type: Improvement
Components: Metrics
Reporter: Renkai Ge
Currently, JobManager, TaskManager and Task share the same configuration of reporters, and implementations of org.apache.flink.metrics.reporter.MetricReporter should be in classpath before JobManager started.
In a cluster with multi tenancy, cluster administrator may want to monitor the cluster metrics in one place, and the owner of a application want to view the metrics of their application in somewhere else, and they may put custom MetricReporter in the application jar if the classpath don't provide one.
I want to implement this by:
1. Make it possible to load MetricReporter from userCodeClassLoader.
2. Put new API into ExecutionConfig like {code}public long enableAdditionalMetricReporters(List<String> classNames,boolean disableGlobalMetricReporters);{code}
I will begin to work on this if you guys agrees.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)