[ 
https://issues.apache.org/jira/browse/BEAM-6161?focusedWorklogId=182758&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-182758
 ]

ASF GitHub Bot logged work on BEAM-6161:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Jan/19 00:18
            Start Date: 09/Jan/19 00:18
    Worklog Time Spent: 10m 
      Work Description: Ardagan commented on pull request #7272: [BEAM-6161] 
Introduce PCollectionConsumerRegistry and add ElementCoun…
URL: https://github.com/apache/beam/pull/7272#discussion_r246194429
 
 

 ##########
 File path: 
runners/core-java/src/main/java/org/apache/beam/runners/core/metrics/MetricsContainerImpl.java
 ##########
 @@ -142,13 +143,25 @@ public MetricUpdates getUpdates() {
   public Iterable<MonitoringInfo> getMonitoringInfos() {
     // Extract user metrics and store as MonitoringInfos.
     ArrayList<MonitoringInfo> monitoringInfos = new 
ArrayList<MonitoringInfo>();
-    MetricUpdates mus = this.getUpdates();
+    MetricUpdates metricUpdates = this.getUpdates();
 
-    for (MetricUpdate<Long> mu : mus.counterUpdates()) {
+    for (MetricUpdate<Long> metricUpdate : metricUpdates.counterUpdates()) {
       SimpleMonitoringInfoBuilder builder = new 
SimpleMonitoringInfoBuilder(true);
 
 Review comment:
   Extract MonitoringInfo creation logic into a separate method.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 182758)
    Time Spent: 5h  (was: 4h 50m)

> Add ElementCount MonitoringInfos for the Java SDK
> -------------------------------------------------
>
>                 Key: BEAM-6161
>                 URL: https://issues.apache.org/jira/browse/BEAM-6161
>             Project: Beam
>          Issue Type: New Feature
>          Components: java-fn-execution, sdk-java-harness
>            Reporter: Alex Amato
>            Assignee: Alex Amato
>            Priority: Major
>          Time Spent: 5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to