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

ASF GitHub Bot commented on FLINK-4389:
---------------------------------------

Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2363#discussion_r75448477
  
    --- Diff: 
flink-runtime/src/main/scala/org/apache/flink/runtime/jobmanager/JobManager.scala
 ---
    @@ -1024,6 +1024,17 @@ class JobManager(
     
         case RequestWebMonitorPort =>
           sender() ! ResponseWebMonitorPort(webMonitorPort)
    +
    +    case MetricRequest =>
    +      metricsRegistry match {
    +        case Some(registry) =>
    +          registry.getQueryService match {
    +            case Some(queryService) =>
    +              queryService ! sender()
    +            case None =>
    +          }
    +        case None =>
    --- End diff --
    
    If we directly ask the query service we don't need this code anyway.


> Expose metrics to Webfrontend
> -----------------------------
>
>                 Key: FLINK-4389
>                 URL: https://issues.apache.org/jira/browse/FLINK-4389
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Metrics, Webfrontend
>    Affects Versions: 1.1.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>             Fix For: pre-apache
>
>
> https://cwiki.apache.org/confluence/display/FLINK/FLIP-7%3A+Expose+metrics+to+WebInterface



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to