[
https://issues.apache.org/jira/browse/BEAM-6138?focusedWorklogId=193588&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-193588
]
ASF GitHub Bot logged work on BEAM-6138:
----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Feb/19 00:50
Start Date: 02/Feb/19 00:50
Worklog Time Spent: 10m
Work Description: ajamato commented on pull request #7624: [BEAM-6138]
Set the PTransform name on Java SDK User counters
URL: https://github.com/apache/beam/pull/7624#discussion_r253242853
##########
File path:
runners/core-java/src/test/java/org/apache/beam/runners/core/metrics/MetricsContainerStepMapTest.java
##########
@@ -177,6 +177,17 @@ public void
testGaugeCommittedUnsupportedInAttemptedAccumulatedMetricResults() {
assertGauge(GAUGE_NAME, step1res, STEP1, GaugeResult.empty(), true);
}
+ @Test
+ public void testUserMetricDroppedOnUnbounded() {
+ MetricsContainerStepMap testObject = new MetricsContainerStepMap();
+ CounterCell c1 =
testObject.getUnboundContainer().getCounter(MetricName.named("ns", "name1"));
+ c1.inc(5);
+
+ List<MonitoringInfo> expected = new ArrayList<MonitoringInfo>();
+ // ArrayList<MonitoringInfo> actual = testObject.getMonitoringInfos();
Review comment:
Done
----------------------------------------------------------------
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: 193588)
Time Spent: 7h 40m (was: 7.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
> Time Spent: 7h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)