[
https://issues.apache.org/jira/browse/BEAM-6138?focusedWorklogId=226979&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-226979
]
ASF GitHub Bot logged work on BEAM-6138:
----------------------------------------
Author: ASF GitHub Bot
Created on: 12/Apr/19 22:44
Start Date: 12/Apr/19 22:44
Worklog Time Spent: 10m
Work Description: Ardagan commented on pull request #8280: [BEAM-6138]
Update java SDK to report user distribution tuple metrics over the FN API
URL: https://github.com/apache/beam/pull/8280#discussion_r274980022
##########
File path:
runners/core-java/src/main/java/org/apache/beam/runners/core/metrics/MetricUrns.java
##########
@@ -31,6 +31,9 @@ public static MetricName parseUrn(String urn) {
if (urn.startsWith(MonitoringInfoConstants.Urns.USER_COUNTER_PREFIX)) {
urn =
urn.substring(MonitoringInfoConstants.Urns.USER_COUNTER_PREFIX.length());
}
+ if (urn.startsWith(MonitoringInfoConstants.Urns.USER_DISTRIBUTION_PREFIX))
{
Review comment:
you can invert order and use else if
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: 226979)
Time Spent: 8h 40m (was: 8.5h)
> Add User Metric Support to Java SDK
> -----------------------------------
>
> Key: BEAM-6138
> URL: https://issues.apache.org/jira/browse/BEAM-6138
> Project: Beam
> Issue Type: New Feature
> Components: java-fn-execution
> Reporter: Alex Amato
> Assignee: Alex Amato
> Priority: Major
> Labels: triaged
> Time Spent: 8h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)