[ https://issues.apache.org/jira/browse/FLINK-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15263834#comment-15263834 ]
ASF GitHub Bot commented on FLINK-1502: --------------------------------------- Github user uce commented on a diff in the pull request: https://github.com/apache/flink/pull/1947#discussion_r61555221 --- Diff: flink-runtime/src/main/scala/org/apache/flink/runtime/taskmanager/TaskManager.scala --- @@ -924,6 +936,15 @@ class TaskManager( else { libraryCacheManager = Some(new FallbackLibraryCacheManager) } + + metricsRegistry = new FlinkMetricRegistry(GlobalConfiguration.getConfiguration); --- End diff -- I think it's better to use `config.configuration`. At some point in time we might get around to removing the `GlobalConfiguration`. > Expose metrics to graphite, ganglia and JMX. > -------------------------------------------- > > Key: FLINK-1502 > URL: https://issues.apache.org/jira/browse/FLINK-1502 > Project: Flink > Issue Type: Sub-task > Components: JobManager, TaskManager > Affects Versions: 0.9 > Reporter: Robert Metzger > Assignee: Chesnay Schepler > Priority: Minor > Fix For: pre-apache > > > The metrics library allows to expose collected metrics easily to other > systems such as graphite, ganglia or Java's JVM (VisualVM). -- This message was sent by Atlassian JIRA (v6.3.4#6332)