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

    https://github.com/apache/flink/pull/2636#discussion_r84115204
  
    --- Diff: 
flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/metrics/MetricFetcher.java
 ---
    @@ -148,7 +148,7 @@ public void onSuccess(Object result) throws Throwable {
                                                                
activeTaskManagers.add(taskManager.getId().toString());
     
                                                                String 
taskManagerPath = taskManager.getActorGateway().path();
    -                                                           String 
queryServicePath = taskManagerPath.substring(0, 
taskManagerPath.lastIndexOf('/') + 1) + "MetricQueryService";
    +                                                           String 
queryServicePath = taskManagerPath.substring(0, 
taskManagerPath.lastIndexOf('/') + 1) + "MetricQueryService_" + 
taskManager.getTaskManagerID().toString();
    --- End diff --
    
    You could use the `MetricQueryService.METRIC_QUERY_SERVICE_NAME` constant 
here 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to