[ 
https://issues.apache.org/jira/browse/FLINK-4532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947767#comment-15947767
 ] 

Stephan Ewen commented on FLINK-4532:
-------------------------------------

Sorry for the late reply.

(2) is implemented for YARN in Flink 1.2
Concerning (1), i think there is interest in that feature.

> 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.15#6346)

Reply via email to